VMware Cloud Community
Schlass
Contributor
Contributor

vRO 8.1 add vRA 8.1 Rest Host - Bad Request 400

Hi,

I am currently trying to use vRO to send Rest API calls to my vRA 8.1 instance. The "Add Rest Host" and "Add Rest Operation" Workflow completes without an issue. But when I am trying to

use the Workflow "invoke REST Operation" to get my API Token, I always get "400 - Bad request" as a respone. I discovered that vRO doesn't send the credentials in the correct JSON format. When I am trying to get one with Powershell, I have to use "ConvertTo-json" with my Credential string and then it works. vRO doesn't seem to do this, hence the HTTP 400 Error...

Has anyone got Rest API Calls to vRA 8.1 with vRO working already?

Tags (3)
0 Kudos
0 Replies