Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

POST works from POSTMAN and got error in groovy

edited Dec 7, 2023 3:09PM in Sales 2 comments

Hi

I am able to POST and getting the response from 'Postman' but when I create a Web Services and use it from groovy I receiving the 400 error. Can you please help me to understand if any mistake in the process.


Groovy Script:


Here is the request params (working fine in POSTMAN)


The log from Runtime Messages always got 400 (look like it missing the request payload)


Webservice define:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!