You can also get tips and examples from HMAC authentication is the same for all calls, but the other aspects of authentication are specific to the API endpoint you want to call. Įxamples # Send a GET request xh /json # Send a POST request with body xh /post name=ahmed age:=24 # Send a GET request with querystring id=5&sort=true xh get /json id=5 sort=true # Send a GET request and include a header named x-api-key with value 12345 xh get /json x-api-key:12345 # Send a PUT request and pipe the result to less xh put /put id:=49 age:=25 | less # Download and save to res.json xh -d /json -o res. To learn more about HTTPie, you can run http -help and review the HTTPie documentation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |