Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

curl POST

curl-X POST http://localhost:8080/api/guests -H 'Content-Type: application/json' -d '{"lastName":"Zithi", "firstName":"Ans"}'
-H header content
-d json payload/data
Source by www.educative.io #
 
PREVIOUS NEXT
Tagged: #curl #POST
ADD COMMENT
Topic
Name
2+5 =