From a0a12b2c592b6361d69251288f6ec1007a524bd6 Mon Sep 17 00:00:00 2001 From: mirivlad Date: Fri, 25 Aug 2023 06:18:51 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20curl=5Frequest=5Fexample.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- curl_request_example.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 curl_request_example.md 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