0

Is it possible to make HTTP request from iOS / Android Application to look for the Server exactly the same as if it came from PC Browser?

So, it would be impossible for the Server to detect that it is not actually from PC but from Mobile.

Alex Craft
  • 13,598
  • 11
  • 69
  • 133

2 Answers2

2

Yes, you can alter the User Agent header to make it look like the request was made by f.ex Internet Explorer.

Here is some clues on how to accomplish this on Android:

Android HTTP User Agent

iOS:

Change User-Agent and remove App Name and defaults iOS

Community
  • 1
  • 1
P-a Bäckström
  • 529
  • 2
  • 7
1

Set the user agent on the request to other than the default to fool the server into thinking the request is coming from other than a device. One list of user agents is at http://www.useragentstring.com.

bobnoble
  • 5,794
  • 3
  • 25
  • 32