How to identify requests made by a Flash or JavaScript client?

On the server, is it possible to identify requests made by the Flash client running in the browser and requests made using the usual XMLHttpRequest?

I noticed that requests made using flash have this header:

X-Requested-With:ShockwaveFlash/25.0.0.127

Is this a standard header or is this behavior different for different versions of the browser \ flash?

+4
source share
1 answer

HTTP- Referer, , Flash JavaScript. Flash, Referer URL- .swf. , URL Referer .swf, Flash.

ActionScript 3.0, Referer . JavaScript, JS-, HTTP-, Referer - .../xxx.swf.

X-Requested-With HTTP- . API URLRequest X-Requested-With , doc.

+1

Source: https://habr.com/ru/post/1674077/


All Articles