Question
Rabobank
SE
Last activity: 2 Mar 2018 2:08 EST
Service REST POST Message Data
Hi All,
I was working on Service REST. while i was practicing on POST method where i am using message data , i had few questions like how will the url should be and how the value should be passed. i am testing via postman app . In body i am passing the value as Key-value (i.e) ID "2". In pega the value is coming as ID = "2" instead of 2 .
http://l<host>:<port>/prweb/PRRestService/Integration/<Class Name>/RESTIntegration
My queries.
1) In My Resource Path i have added one param /ID
2) In POST method i gave the clipboard as Mapto and my property value in Key.
If someone can put in some thoughts how the value should be passed via post man or do i need to some changes in my Service.
Attached few screenshots.
Thanks
-Sarath
Hi All,
I was working on Service REST. while i was practicing on POST method where i am using message data , i had few questions like how will the url should be and how the value should be passed. i am testing via postman app . In body i am passing the value as Key-value (i.e) ID "2". In pega the value is coming as ID = "2" instead of 2 .
http://l<host>:<port>/prweb/PRRestService/Integration/<Class Name>/RESTIntegration
My queries.
1) In My Resource Path i have added one param /ID
2) In POST method i gave the clipboard as Mapto and my property value in Key.
If someone can put in some thoughts how the value should be passed via post man or do i need to some changes in my Service.
Attached few screenshots.
Thanks
-Sarath