diff --git a/curl_request_example.md b/curl_request_example.md new file mode 100644 index 0000000..b9412e7 --- /dev/null +++ b/curl_request_example.md @@ -0,0 +1,10 @@ +# Example for send request to server with curl + +## Get HEADERS +`curl -I http://localhost:8088` + +## Send GET data +`curl 'http://localhost:8088?foo=bar&bin=go'` + +## Send POST data +`curl -d "foo=bar&bin=go" http://localhost:8088` \ No newline at end of file