How do I fix this VaRest POST Request to get the same result as in Postman?

Hi Guys,

I am using VaRest plugin and I am trying to get the access token from the POST request. I have tested the credentials in Postman and it is working but not using my Blueprint. Could anyone help me to check it please.

Thanks

2 Likes

Since we don’t have access to this service, it’s difficult to figure what is wrong at first glance.

What is happening? Is it always triggering the “fail” event, not triggering anything, or not returning the json you were expecting?

You should also print the results from the request instead of guessing (the fail may not be because of password, there could be some other reason).

Thanks a lot for your reply. It is actually triggering only the ‘fail’ event unless the credentials are correct as well as the URL.

The HTTP requests to the API failed with SSL verification errors.

Solution: Disabled SSL verification in `DefaultEngine.ini` as following:

```ini

[HTTP]

bVerifySSL=False

```

That solved the problem. So now it is working perfectly. Thanks

Set correct headers, JSON body, and content-type in VaRest :ok_hand:

Set headers/body JSON correctly; match Postman config :+1: