I mean, some apps will send http requests to certain servers, like some games or facebook. So is there a way to identify which app is sending it by looking at the http header?
相关问题
- Angular RxJS mergeMap types
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
Generally, no. Some apps might modify the user agent, but most probably leave it alone.
You might be able to identify the default headers, but since they can be altered by whatever program the client is running, there's no guarantees.
For what it's worth, here is the user-agent header my Android handset sends:
Almost all requests will have some form of identification in them. Often the server API requires this identification.
However, there is no general rule for how the clients identify themselves. As a human looking through the request logs, you will often be able to tell what app they are coming from; however, I doubt there is a standardized or automated way to do this.