2023-04-22 10:55:32 +03:00
|
|
|
curl http://localhost:8000/hello
|
|
|
|
curl http://localhost:8000/custom-headers -H 'Fruit:Raspberry' -H 'Fruit:Apple' -H 'Fruit:Banana' -H 'Fruit: Grape' -H 'Color:Green'
|
|
|
|
curl --header 'Content-Type: application/json' --data $'{\n "name": "Bob",\n "password": "&secret\\\\\'<>",\n "age": 30,\n "strict": true,\n "spacing": "\\n",\n "g_clef": "\\uD834\\uDD1E",\n "items": [true, "true", 1],\n "variable": "\\\\"\n}' 'http://localhost:8000/post-json'
|
2023-04-24 15:16:23 +03:00
|
|
|
curl --header 'Content-Type:' --data '@tests_ok/data.bin' 'http://localhost:8000/post-file'
|
|
|
|
curl --location 'http://localhost:8000/redirect-absolute'
|
2023-06-02 09:08:18 +03:00
|
|
|
curl --retry 4 'http://localhost:8000/retry/until-200'
|
2023-04-24 15:16:23 +03:00
|
|
|
curl -k https://localhost:8001/hello
|
|
|
|
|