Creating POST method in Web API


In this blog I will explain HTTP Post Method in Web API.

SNO Action HTTP Method Relative URI
1. Create New Record POST /api/Record

you need to create an object in web api project with Activity, CustomValue, PropertyIndex properties

and HttpPost will be

Creating Resources HTTP POST

Note: Method name should be start from Post.

Snippet

full code snap

postrecord

Thanks

Dharmesh Sharma