You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi collueages, recently my team and I are searching the possibility of reusing the CF command line and develop it into a UI. And facing some issue.
Here is the questions:
How to get the data result from the root url of cf command line using postman?
For exmaple, the root url of my cf command line 'cf apps' is ' https://api.cf.eu10.hana.ondemand.com/v3/app'
Is there some way to get the response of the url using postman. If the authentication method if oauth2, where i can get the client id and client secret? Is there a restful api document relative to it?
Thank you in advance
Activity
philippthun commentedon Nov 9, 2022
Please have a look at https://v3-apidocs.cloudfoundry.org/version/3.127.0/index.html#authentication
For example, you can get a token with
cf oauth-tokenand then send it in an HTTP header to the CF endpoint.