Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello there,
I am trying to send a JSON as input parameter of a service that I created, from Postman, but I get the following error message :
Solved! Go to Solution.
Hi
Looks like you didn't format the body correctly in Postman and you need to change the Input Parameters to json type in ThingWorx service.
Hi, I copy and paste the json into a service's input parameter and it seems working just fine.
How did you send Json from Postman to the input parameter of a ThingWorx service?
Hi,
Here there is my postman Body : (you will notice that I don't have variable, only parameters)
Here there is my ThingWorx service :
By this way it's not working...
I tried also to put a json as in input parameter but I don't have the name of the JSON variable (if you look at my postman POST), so I don't know how can I select my input parameter...
Thank you for your feedback.
Hi
Looks like you didn't format the body correctly in Postman and you need to change the Input Parameters to json type in ThingWorx service.
Hello Tony,
Sorry for the delay, I didn't get any notification, but everything is working.
Thank you!
Best regards,
Thomas
Hi @Tjaf,
Did my reply answer your question? If so, it would be great if you could designate that reply as the Accepted Solution.
If not, please let us know your current status in the Community thread for further support.
Thank you,
Tony
Hi @Tjaf,
If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Regards,
Tony