Created
July 14, 2024 08:34
-
-
Save ahndmal/d3e35ed86fc909b4b94cafe8e8e670a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## GET request | |
GET / HTTP/1.1 | |
User-agent: curl/2000 | |
Host: example.com | |
## GET response | |
HTTP/1.1 200 OK | |
Server: example-server/1.1 | |
Content-Length: 5 | |
Content-Type: plain/text | |
hello | |
############################ | |
## POST request | |
POST / HTTP/1.1 | |
Host: example.com | |
User-agent: curl/2000 | |
Content-Length: 5 | |
hello | |
## POST response | |
HTTP/1.1 200 OK | |
Server: example-server/1.1 | |
Content-Length: 5 | |
Content-Type: plain/text | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment