Posting with Content-Type: application/json

peter

Пользователь
Регистрация
07.01.2012
Сообщения
40
Благодарностей
2
Баллы
8
Hi, I would like to send POST request to a server which only accepts my requests if it states that the Content-Type is application/json. How could I achieve that?

Also it is quite interesting that Fiddler is not logging many requests made by ZennoPoster/ProjectMaker, so it makes quite difficult to debug post requests made by the software. Do you have a solution to overcome this problem?

Thank you!
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
you can set Content type right within action.

+ set 127.0.0.1:8888 as proxy in PM if you wanna catch traffic with fiddler
 

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