Skip to content

Instantly share code, notes, and snippets.

@baweaver
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baweaver/f0b6e7e161343ecddcc3 to your computer and use it in GitHub Desktop.
Save baweaver/f0b6e7e161343ecddcc3 to your computer and use it in GitHub Desktop.
Saltnado curl log
curl -svi localhost:8000 -H"Authorization:Token token=token" -d client=local -d tgt=*q1-np -d fun=test.ping -d expr_form=glob
* Adding handle: conn: 0x7fe723803a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fe723803a00) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8000 (#0)
* Trying ::1...
* Connected to localhost (::1) port 8000 (#0)
> POST / HTTP/1.1
> User-Agent: curl/7.30.0
> Host: localhost:8000
> Accept: */*
> Authorization:Token token=token
> Content-Length: 52
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 52 out of 52 bytes
< HTTP/1.1 302 Found
HTTP/1.1 302 Found
< Date: Tue, 17 Mar 2015 01:54:23 GMT
Date: Tue, 17 Mar 2015 01:54:23 GMT
< Content-Length: 0
Content-Length: 0
< Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=UTF-8
< Location: /login
Location: /login
* Server TornadoServer/4.1 is not blacklisted
< Server: TornadoServer/4.1
Server: TornadoServer/4.1
<
* Connection #0 to host localhost left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment