Job done, we have an admin user for our cloud. Our token was return in header X-Subject-Token. For more information on this syntax, refer to. Note, the -ph flag (print only header) which make headers greppable. It reimplements as much as possible of HTTPies excellent design. HTTP/1.1 200 OKContent-Length: 330Content-Type: application/jsonDate: Sat, 12:46:03 GMTVary: X-Auth-TokenX-Distribution: Ubuntu/auth/tokens < get-cloudadmin-token.json |grep X-Subject-Token It would help us use complex json more easily http pie.dev/post \\ platformnameHTTPie \\ platformaboutmission'Make APIs simple a. Your Keystone http Then, read with relish pretty response : Is your feature request related to a problem Please describe. it is pretty clear how to send a json object but not a nested. Now, we can test httpie his http command line (replace URL by i am trying to use httpie to parse to send some nested json object, but i can not find how. The http & https commands allow for creating and sending. HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers. Its goal is to make CLI interaction with web services as human-friendly as possible. Fortunately, Ubuntu repositories feeds httpie (version 0.8.0-1). Version: 3.2.1 (latest) HTTPie (pronounced aitch-tee-tee-pie) is a command-line HTTP client.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |