Click here to Skip to main content
14,872,121 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.


What I have tried:

Looking into how the X-Pingback is generated via web browser developers tools.
Posted
Updated 20-Mar-21 5:48am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900