VMware Cloud Community
paloaltochico
Contributor
Contributor

405 Request method 'POST' not supported

HI guys

I was wondering, I can do GET and DELETE with application/json and application/xml

But CANT do POST, its like im blocked, anyone knows a work around?

I'm using latest VRO 6.0.1

Pedro

2 Replies
iiliev
VMware Employee
VMware Employee

Hi Pedro,

Which vRO REST API endpoint URL you are trying to 'POST' to?

If you navigate with a browser to https://[vco-host-or-ip]:8281/vco/api/docs , you'll see all available vRO REST API endpoints together with HTTP methods available for each endpoint.


Or perhaps you are trying to call 3rd party REST API using vRO HTTP-REST plug-in and POST operation is failing? In this case, check the 3rd party REST API docs to make sure that it supports POST request for the given URL. If it should support POST, then could you try to make the same POST request with another REST client (for example cURL)?

0 Kudos
matthiaseisner
Hot Shot
Hot Shot

Hi,

Had the exact same issue. What I figured out: for the POST method you need to add "executions" at the end. At least worked for me (referring to the documentation)

Example: https://<IP or FQDN of your vRO>:8281/vco/api/workflows/<workflow ID>/executions/

Have fun

Cheers,

Matthias