How to send post request to the below post method using postman rest client
JSON:-
For POST request using json object it can be configured by selecting
Body -> raw -> application/json
Form Data(For Normal content POST):- multipart/form-data
For normal POST request (using multipart/form-data) it can be configured by selecting
Body -> form-data
The Interface of Postman is changing acccording to the updates.
So You can get full information about postman can get Here.
https://www.getpostman.com/docs/requests
- Open
Postman
. - Enter URL in the URL bar
http://{server:port}/json/metallica/post
. - Click
Headers
button and enterContent-Type
as header andapplication/json
in value. - Select
POST
from the dropdown next to the URL text box. - Select
raw
from the buttons available below URL text box. - Select
JSON
from the following dropdown. In the textarea available below, post your request object:
{ "title" : "test title", "singer" : "some singer" }
Hit
Send
.Refer to screenshot below: