I want to test if an API gets the coordinate and user-agent of the area where it's called. Let's say a visiting user called the URL - https://myweb.com, these should be automatically logged without the user haven't done anything but just by visiting the URL. It should log the IP, coordinates - (long and lat), user-agent (browser details), and either it's visited via the web or mobile.
I'm using RestAssured/Postman but can't seem to find out how. Please, any guide on how to go about it? Note that it's only the API that's available, the UI part has not been implemented. Thanks a lot.
Aucun commentaire:
Enregistrer un commentaire