[Resolved]Do POST requests don't work

AffilSeo

Новичок
Регистрация
14.12.2019
Сообщения
20
Благодарностей
1
Баллы
3
Hello,

I have several problems using a paid API.

When I work on POSTMAN, everything is fine, then when I switch to Zennoposter, it bugs.

I will first explain the main problem:

a POST request:
- works when I fill it on POSTMAN (except with one exception)
- works when I use the browser, and go directly to the online application (which calls the API in the same way)

But when I make a POST request, it blocks.

The API support never saw the error that is blocking me.

More surprisingly, when I created my post request via "create action from request", the request that was created doesn't work, while it works when I'm in browser mode.

With POSTMAN, I manage to reproduce the error, by modifying a parameter of the Body (see screenshot).

Would you have a solution?

Thanks
 
Последнее редактирование:

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 278
Благодарностей
5 857
Баллы
113
No info on how you make post request in zennoposter
What are the settings?
What is the response to your request? you can also check it in traffic monitor
 

AffilSeo

Новичок
Регистрация
14.12.2019
Сообщения
20
Благодарностей
1
Баллы
3
yes, there is some information missing.

To be more precise, it's only after I understood that the problem was that I wanted to send data as JSON.

And, I just had to add application/json not in the header, but in Data-Type > Other.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)