Question

1
Replies
859
Views
Sarath Prashanth (SarathPrashanth)
CAPGEMINI
Senior Application Consultant
CAPGEMINI
SE
SarathPrashanth Member since 2016 52 posts
CAPGEMINI
Posted: March 1, 2018
Last activity: March 2, 2018
Posted: 1 Mar 2018 12:46 EST
Last activity: 2 Mar 2018 2:08 EST
Closed

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

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.