Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

http get cli

# GET
curl "http://www.example.com"

# POST
curl -X POST -H "Content-Type: application/json" 
 -d '{"username":"abc","password":"abc"}' 
 http://www.example.com
 
PREVIOUS NEXT
Tagged: #http #cli
ADD COMMENT
Topic
Name
8+5 =