Curl Curl Testing Endpoint in "application/json" Content Type. curl -i -X [Your METHOD] -H "Content-Type:application/json" http://host/endpoint -d '{"uid": "1", "gender": "m", "token": "sandbox"}'