mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-26 22:25:51 +08:00
Update README with recent command-line improvements
This commit is contained in:
@@ -38,7 +38,7 @@ You could achieve the same result with a simple `curl` command
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
$ curl https://start.spring.io/starter.zip >> demo.zip
|
||||
$ curl https://start.spring.io/starter.zip -o demo.zip
|
||||
----
|
||||
|
||||
The following request attributes are supported:
|
||||
@@ -88,9 +88,12 @@ third-party clients. You can grab the meta-data by _curling_ the root
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
$ curl https://start.spring.io
|
||||
$ curl -H 'Accept: application/json' https://start.spring.io
|
||||
----
|
||||
|
||||
NOTE: If you use `curl` without an accept header, you'll retrieve a human readable text version
|
||||
of the metadata. `HTTPie` is also supported.
|
||||
|
||||
The meta-data basically lists the _capabilities_ of the service, that is the available options
|
||||
for all request parameters (`dependencies`, `type`, `bootVersion`, etc.) The web UI
|
||||
uses that information to initialize the select options and the tree of available dependencies.
|
||||
|
||||
Reference in New Issue
Block a user