cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Issue

AkhilAllagadda
Level 2

Hi i have a process to check if a url is working or broken. I was able to do bt making http request and get response but some of the urls are external to client like transunion.com and i am getting error message responce as blocked. I wanted to make a http call telling it that request is from browser like chrome. How can i set input to http activity



------------------------------
Akhil Allagadda
Automation Engineer
Accelirate Inc
America/New_York
------------------------------
3 REPLIES 3

ewilson
Staff
Staff

@AkhilAllagadda 

Is the request being blocked by a proxy? If so, did you set the proxy settings on the HTTP VBO? If you're trying to impersonate the browser you'll need to set the User-Agent HTTP header on the request.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent

Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

How to pass useragent from the http activity


@AkhilAllagadda 

There's an input Collection on most of the actions exposed by the HTTP VBO. It's called Headers. You populate that Collection with any HTTP headers you want included in your request. In this case, you'd create a field called User-Agent and you'd set it's value to whatever user-agent string you're trying to mimic.

Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------