Question
ING
PH
Last activity: 24 Jul 2020 22:55 EDT
How to create a JSON format request in Connect-Rest Pega 7.1.5 version
Upon checking the data-transform for additional configuration option for Clipboard/JSON is not available in the current pega 7.1.5 veresion.
What could be the alternative for this one in order to map the request data in JSON format POST method?
Sample payload:
POST API: https://api-testing.com /link-generation
HEADER: {
'Authorization': 'Bearer <AUTH_V2_TOKEN>',
'Content-Type' : 'application/json' }
{
"application": "PEGA",
"clientId": "PEGA",
"redirection_url": "http://api-test.com/ link",
"authentication": {},
"profile": {
"status": "new",
"clientId": "BPM",
"policyCategory": "Personal",
"policyType": "<policyType>",
Upon checking the data-transform for additional configuration option for Clipboard/JSON is not available in the current pega 7.1.5 veresion.
What could be the alternative for this one in order to map the request data in JSON format POST method?
Sample payload:
POST API: https://api-testing.com /link-generation
HEADER: {
'Authorization': 'Bearer <AUTH_V2_TOKEN>',
'Content-Type' : 'application/json' }
{
"application": "PEGA",
"clientId": "PEGA",
"redirection_url": "http://api-test.com/ link",
"authentication": {},
"profile": {
"status": "new",
"clientId": "BPM",
"policyCategory": "Personal",
"policyType": "<policyType>",
"notification_url": {
"url": "https://api-test.com/ notify",
"headers": {
"Authorization": ""
}
}
}
}
***Edited by Moderator: Pallavi to update platform capability tags***