This is the WebApi package that I have in my project:
UiPath.WebAPI.Activities=1.21.0
This is the cURL request that I imported:
curl -X 'POST' \
'https://simidigital.tm.com.my/api/cdn-portal/v1/generic' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"endpoint": "https://cdn-api.swiftfederation.com/v1.1/report/customers/32477/volume",
"payload": {
"endTime": "2024-10-17T23:59:59Z",
"startTime":"2024-10-16T00:00:00Z"
}
}'

This is the configuration that I had configured in the HTTP Request Wizard:
But when I run the workflow, I get this response:
StrJsonObject : {“message”:“invalid character ‘P’ looking for beginning of value”,“status”:“fail”}
Status : 400
Can someone tell me how I can configure the HTTP Request activity for the given cURL statement above.
Thank you very much.


