简体   繁体   中英

Rest Api post using Postman Chrome Extension

I am using postman to check GET and POST using rest api, I am setting header : Content-Type to application/json.

Please see the attached images, What am I missing during post I am successfully getting response from GET: Image links: Post: https://drive.google.com/file/d/0Bz2yzzoSJQWeUGFxU2UwSlNRT00/view?usp=sharing Get: https://drive.google.com/file/d/0Bz2yzzoSJQWeQnZBY0FOSEpfTjg/view?usp=sharing

I noticed you're getting html for the post. Looks like you're using url/method not supported by this API.

In my case that was the reason. Try to dig this direction.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM