Skip to content

Instantly share code, notes, and snippets.

@snoopsD
Created June 21, 2019 04:41
Show Gist options
  • Select an option

  • Save snoopsD/b93350205432fb80965662b3b0301540 to your computer and use it in GitHub Desktop.

Select an option

Save snoopsD/b93350205432fb80965662b3b0301540 to your computer and use it in GitHub Desktop.
Status 201 and headers
curl --url localhost:9292/tests -v
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 9292 (#0)
> GET /tests HTTP/1.1
> Host: localhost:9292
> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 201 Created
< Content-Type: text/plain
< Content-Length: 195
<
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Index | Simpler application</title>
</head>
<body>
<h1>Simpler framework at work!</h1>
<p></p>
</body>
* Connection #0 to host localhost left intact
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment