Hey @arndom,
What could be helpful is to use Postman to generate cURL requests to see if there are any differences in the requests sent.
Steps to generate cURL request in Postman:
-
Select the <> icon in the top right corner
-
Select ‘cURL’ in the dropdown menu.
This might be helpful to spot any differences.
Another thing you can try is - once you send the request it will be logged in Postman’s console, you can then expand the request and get a detailed look of what exactly was sent, the user-agents will be listed under the network tab, you can try attaching screenshots here for reference.
I am also leaning towards the fact that there is an issue with some of the headers.
Server-side do you know if there’s anything specific that you need to have present in the headers.
The fact that You used to receive 400 response code means that you were able to reach the server, but seems like the request is not what the server expects.
Also if you have access to the server I would suggest you to console log the requests you receive as this might be helpful to find any discrepancies .
Best Regards,
Atanas