Hi guys,
I’m having an issue when using the HTTP module on this specific API: API Reference
It’s a POST request that returns a JSON file (if I use GET, it returns the XLS file since the API uses the same url).
When I use the module, it returns an error that the query parameter is not valid, but if I run this manually, it works correctly!
curl -X ‘POST’
‘https://dbt.stays.net/external/v1/booking/reservations-export’
-H ‘accept: application/json’
-H ‘Authorization: Basic AUTH_KEY’
-H ‘Content-Type: application/json’
-d ‘{
“from”: “2024-12-01”,
“to”: “2024-12-31”,
“dateType”: “arrival”
}’
Does anyone have any idea why the HTTP module is having a different behavior from a manual request?
Thanks
Doug