1

I have and API created (In development and can't share the endpoint but when I am curling it with the specified headers:

-H 'Pragma: no-cache' 
-H 'Origin: http://dev.symposeum.com' 
-H 'Accept-Encoding: gzip, deflate, sdch' 
-H 'Accept-Language: en-GB,en-US;q=0.8,en;q=0.6' 
-H 'Authorization: Bearer f4e73ac041d19037b89e8791cfe2f07201f7dfc8' 
-H 'Accept: application/json' 
-H 'Cache-Control: no-cache'  
-H 'Connection: keep-alive' 
-H 'Referer: http://dev.symposeum.com/'

It works fine but when I pass the user agent header along with these headers which has to be passed I guess, it works on only a few system not all. It is a live deployed site.

The user agent header being:

-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36'

Can someone help in this regard or at least try to explain why this is happening ?

1
  • I am facing same issue. Is anyone have answer to this question? Dec 13, 2016 at 11:40

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.