'Paxful API - Returning error 404 not found in the body but 200 OK in the response status code in postman

The response for the POST request using postman is https://api.paxful.com/paxful/v1/api/offer/all is

{ "status": "error", "timestamp": 1650563088, "error": { "code": 404, "message": "Not Found" } }

Very stuck! Curl script is:

curl --location --request POST 'https://api.paxful.com/paxful/v1/api/offer/all' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer [Removed bearer]' \
--header 'Cookie: __cf_bm=cGXqOPtHT4fI7pfOcGHZneya7KEw39tzXPXaiYfCXgY-1650562308-0-AXyr+mDbtelm/RSSCSxuj9XUz90R4ZCeBcnSxHq7PBGoxOuFubeXIA0mbWJVqtbZN6NyOhMTHfDKHBAjTEs4SaE=' \
--data-urlencode 'offer_type=sell' \
--data-urlencode 'currency_code=USD' \
--data-urlencode 'crypto_currency_code=USDT' \
--data-urlencode 'limit=20'


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source