Question

1
Replies
802
Views
SarathPrashanth Member since 2016 49 posts
INFOSYS
Posted: 2 years ago
Last activity: 2 years 6 months ago
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

Data Integration
Moderation Team has archived post
Share this page LinkedIn