Добавить curl_request_example.md

This commit is contained in:
mirivlad 2023-08-25 06:18:51 +03:00
parent 21ca539215
commit a0a12b2c59
1 changed files with 10 additions and 0 deletions

10
curl_request_example.md Normal file
View File

@ -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`