简体   繁体   中英

Param is missing or the value is empty on POST request to api

I've downloaded this repo (api-presentation) to experiment with api in rails app.

Here's an article with video that explains what is api and how to use it.... http://www.aomran.com/designing--building-restful-json-apis/

Now I'm trying to add a record through POST request with Postman extension and I'm geting:

param is missing or the value is empty: contact

What am I doing wrong?

Here's a screen with the error:

在此处输入图片说明

I added Header/Value and it worked for me. The question's probably lame.

在此处输入图片说明

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