python_server/curl_request_example.md

10 lines
226 B
Markdown

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