Skip to content

Commit

Permalink
Merge pull request #28 from grails-samples/puneetbehl-patch-1
Browse files Browse the repository at this point in the history
Update README.adoc
  • Loading branch information
puneetbehl authored Oct 15, 2021
2 parents b41eb74 + e3487ba commit 7252451
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ With curl you can query the following APIs to learn which versions, profiles, an
Example:

curl http://localhost:8080/versions
curl http://localhost:8080/3.2.1/profiles
curl http://localhost:8080/3.2.1/angular2/features
curl http://localhost:8080/5.0.0/profiles
curl http://localhost:8080/5.0.0/angular2/features

You can also generate an application with curl. The following example will use the latest release with default parameters.

curl -O http://localhost:8080/myApp.zip

You can also specify the version, profile, and features

curl -O http://localhost:8080/myApp.zip -d version=3.2.2 -d profile=angular2 -d features=hibernate4,mongo
curl -O http://localhost:8080/myApp.zip -d version=5.0.0 -d profile=angular -d features=hibernate5,mongo

== Project Testing

Expand Down

0 comments on commit 7252451

Please sign in to comment.