cancel
Showing results for 
Search instead for 
Did you mean: 

REST PUT - Where to put Body Message

aemery
New Contributor

Hello,

I have a REST service that first requires a PUT with a JSON body with the username/password in the body, and it will return a key. I can get it to work in SoapUI and Postname, but am unable to figure out how to make it work in Snaplogic.

I constructed what was used as the Body in Postman in the JSON Generator snap -

[
{
“username”: “someuser”,
“password”: “somepassword”
}
]

However how do I call that from the REST Put snap?

Thanks in advance for any assistance.

5 REPLIES 5

aemery
New Contributor

Ok I figured it out -

I changed this setting from default to text -
image