Postal Ninja

FREEMIUM
By PostalNinja | Updated vor 2 Monaten | Logistics
Popularity

9.7 / 10

Latency

110ms

Service Level

100%

Health Check

N/A

Back to All Discussions

POST і GET

Rapid account: Irisbar 82
irisbar82
vor 6 Monaten

Доброго дня. Підкажіть у чому може бути проблема - всі GET запроси працюють справно, а от POST (наприклад створення нового трек номеру) ні - з цього сайту тести відпрацьовуютьб а от з мого серверу ні. Розумію що проблема десь на моїй стороні але не вистачає знань щоб зрозуміти де саме шукати. Отримую у відповідь лише Oops, an error in the gateway has occurred. If the issue persists, please contact support@rapidapi.com

Rapid account: Postal Ninja
PostalNinja Commented vor 6 Monaten

Hello,
I didn’t see any errors except legit in your request log on RapidAPI website.
If it works from RapidAPI playground but returns such errors for POST request in your scripts - I think this is due to malformed requests you are trying to submit. Don’t know reason as RapidAPI doesn’t show invalid requests in the log. But it’s either invalid request headers or malformed request body (e.g. you are sending POST data as json instead of url-encoded form). Hard to guess without seeing your code.

Join in the discussion - add comment below:

Login / Signup to post new comments