HTTP Clients

Noir can generate commands for various HTTP clients, such as Curl and HTTPie, to interact with your endpoints. This allows for easy testing and integration with other tools.

Curl

noir -b . -f curl -u https://www.hahwul.com

# curl -i -X GET https://www.hahwul.com/ -H "x-api-key: "
# curl -i -X POST https://www.hahwul.com/query -d "query=" --cookie "my_auth="
# curl -i -X GET https://www.hahwul.com/token -d "client_id=&redirect_url=&grant_type="
# curl -i -X GET https://www.hahwul.com/socket
# curl -i -X GET https://www.hahwul.com/1.html
# curl -i -X GET https://www.hahwul.com/2.html

HTTPie

noir -b . -f httpie -u https://www.hahwul.com

# http GET https://www.hahwul.com/ "x-api-key: "
# http POST https://www.hahwul.com/query "query=" "Cookie: my_auth="
# http GET https://www.hahwul.com/token "client_id=&redirect_url=&grant_type="
# http GET https://www.hahwul.com/socket
# http GET https://www.hahwul.com/1.html
# http GET https://www.hahwul.com/2.html