Page 1 of 1

Using parameters in a Request Body

Posted: Tue Feb 22, 2022 6:10 pm
by thegamechanger

Hi Guys,

For the API I am calling, I need to include a Body Request to to do a find in the service. If I hard code the value, it works fine: e.g.

{"Email": ""}]

But if I try to use the "email" parameter I am passing into the call I keep getting errors ("Unexpected token P in JSON at position 33") :


I am sure it is my syntax, but I can't figure it out.


Re: Using parameters in a Request Body

Posted: Wed Feb 23, 2022 2:32 pm
by Serhii Kulibaba


Where exactly do you pass these values to the body?
In your API Express service, REST component?

Could you please provide us with more details, screenshots or exact steps to reproduce this problem?