I am building a scripted API which allows users to log in to dating social media. Upon visiting the following link: https://badoo.com/signin/?f=top
First HTTP XHR POST request you will get is: https://badoo.com/webapi.phtml?SERVER_APP_STARTUP
You can see that for this particular request, under 'request headers', there is a X-Pingback header which was dynamically created. Going a bit deeper and looking into 'initiators' we can see that it is linked to the following file: base-app-unauth.4ec48728032818792721.js. This file contains entry: X-Pingback. It is exactly what we need. However I cannot decode how you would create one yourself via script. It points to a function but doesn't exactly show the value or anything.
If there are any knowledgeable people, please let me know how I would go about generating X-Pingback via script to simulate browser activity.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)