Skip to content

Latest commit

 

History

History
21 lines (20 loc) · 408 Bytes

curlie-examples.md

File metadata and controls

21 lines (20 loc) · 408 Bytes

GET

curlie -v example.com

POST w/ JSON

curlie -v POST httpbin.org/status/201 "Authorization: Bearer xxxx" "name=John Doe"

BIG JSON

curlie -v POST httpbin.org/status/201 "Authorization: Bearer xxxx" -d '
[
    {
        "name": "John Doe"
   }
]'

SPOOF HOST & SNI

curlie https://foo.example.com:8443 "Host: foo.example.com" \
    --resolve foo.example.com:8443:127.0.0.1