Post request for Rest API


How to test Post request for API. Here I have found the tutorial but not able to placed the code. I mean where I place the code in, Object repository, test case or where? Please guide


Please use this video tutorial for REST API Testing