- 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: