Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: HTTP Client - Change browser signature/user agent?

  1. #1
    Join Date
    Aug 2013

    Question HTTP Client - Change browser signature/user agent?

    Hi everyone,

    I am trying to read data from a website using the HTTP Client, but it's using Cloufdflare and the request gets rejected due to the Browser signature.
    Access denied | xxx used CloudFlare to restrict access
    The owner of this website (xxx) has banned your access based on your browser's signature (24d604136d2c266c-ua19)
    I think I should be able to use the "Custom HTTP Header" setting on the HTTP Client step to set a different user agent, am I right? Something like ('User-agent','Mozilla/5.0')
    Alas, I don't know the exact syntax to use and the Documentation is not very helpful either...
    Couldn't get it to work.

    Attached is an example ktr. Does anyone have an idea?

    Many thanks.
    Attached Files Attached Files

  2. #2
    Join Date
    Aug 2013


    Okay, I found something on Stackexchange that put me on the right track.

    1- Create a Constant field , set value to Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.107 Safari/537.36
    2- In HTTP Client -> Custom HTTP Headers, set "Field" to your Custom field, and in "Header" enter the value 'User-Agent' (without the quotes)

    That will make it work. Problem solved.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.