Open sneal opened 4 years ago
Uaa curl does not work with any host but the targeted UAA.
uaac curl https://not-uaa-host.example.com is handy with workflows where you use uaa to grab a bearer token and then issue curl requests that utilize that token. For example https://docs.pivotal.io/platform/healthwatch/1-8/api/free-chunks.html#get
uaac curl https://not-uaa-host.example.com
Here's a sample that doesn't work so well
$ uaa curl https://healthwatch-api.sys.example.com/v1/info -v GET /https:/healthwatch-api.sys.example.com/v1/info HTTP/1.1 Host: login.sys.example.com Authorization: Bearer abcd
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/172775434
The labels on this github issue will be updated when the story is started.
Uaa curl does not work with any host but the targeted UAA.
uaac curl https://not-uaa-host.example.com
is handy with workflows where you use uaa to grab a bearer token and then issue curl requests that utilize that token. For example https://docs.pivotal.io/platform/healthwatch/1-8/api/free-chunks.html#getHere's a sample that doesn't work so well