Created
February 6, 2018 01:58
-
-
Save craig-m/0ebb7c70b37436d254858db7dc089c38 to your computer and use it in GitHub Desktop.
curl unix socket request
This file contains 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
pi@host:~ $ curl -X GET --unix-socket /opt/path/some.socket http/hello/curltest | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello from flask</title> | |
<link rel="stylesheet" type="text/css" href="/static/style.css"> | |
</head> | |
<body> | |
<h1>Hello curltest!</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment