Cloud Foundry API - Discontinue
I need an API to stop a running application, after some searching I found this API
http://apidocs.cloudfoundry.org/263/apps/updating_an_app.html
If I want to test it with the postman, how can I get the token and where to put it in the postman?
Edit
I tried it well with the postman
Put https: // [api] / v2 / apps / 211c82e2-7316-45b6-9ae6-1df4dzz74772 / stop
Title
Authorization : bearer <token>
"Content-Type":"application/x-www-form-urlencoded"
I got the error:
{
"description": "Unknown request",
"error_code": "CF-NotFound",
"code": 10000
}
Any idea?
+3
source to share