Add httpie example

This commit is contained in:
Stephane Nicoll
2017-01-29 10:26:39 +01:00
parent c45b13f12f
commit c24269c2ec

View File

@@ -130,7 +130,14 @@ $ curl -H 'Accept: application/json' https://start.spring.io
----
NOTE: As stated above, if you use `curl` without an accept header, you'll retrieve a human
readable text version of the metadata. `HTTPie` is also supported.
readable text version of the metadata. `HTTPie` is also supported:
[source,bash]
----
$ http https://start.spring.io Accept:application/json
----
The metadata basically lists the _capabilities_ of the service, that is the available
options for all request parameters (`dependencies`, `type`, `bootVersion`, etc.) The web