URL Test with cURL
Request Each Methods
GET
POST
DATA='
{
"key1": "value1",
"key2": "value2"
}
'
curl -X POST \
-H 'Content-Type: application/json' \
-d "$(echo $DATA)" \
"<URL>"
PUT
DATA='
{
"key1": "value1",
"key2": "value2"
}
'
curl -X PUT \
-H 'Content-Type: application/json' \
-d "$(echo $DATA)" \
"<URL>"