Jump to content

While calling a REST service, I would like to delete few non-mandatory elements from the json request , how can I do that


Reetika Bedi

Recommended Posts

I am sending a JSON request where I would like to delete a non-mandatory element while sending the request.

If you refer to the attached screenshots,

I would like to send "resource6" only with "resource9" . (Hence while sending POST request, I am not setting up data of "resource10")

But when I look at the request, BPM automatically adds "resource10" and send it as "null".

How can I make sure that the request json does not contain "resource10" , but contain resource 9 & 6.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...