Cloud foundry API - stop application

Viewed 945

I Need API to stop the running application, after some search I've found this API

http://apidocs.cloudfoundry.org/263/apps/updating_an_app.html

if I want to test it with postman how can I obtain token and where should I put it inside postman ?

Edit

i've tried like following with postman

Put https://[api]/v2/apps/211c82e2-7316-45b6-9ae6-1df4dzz74772/stop

Header

Authorization : bearer <token>
"Content-Type":"application/x-www-form-urlencoded"

I got error:

{
    "description": "Unknown request",
    "error_code": "CF-NotFound",
    "code": 10000
}

Any idea?

1 Answers
Related