Hi,
When i post a json data and the data is an object, it doesn't post this data in json format, it post the data in the normal post format: variable=value.
How can we force it to post as json format?
Hi @mrnobita
Unfortunately this is not possible, the actual code behind this custom command uses python request and the payload is sent as the "data" parameter, and cannot be changed to the "json" parameter without modifying the source of the app.
r = requests.post(uri,data=payload,verify=True,cert=cert,headers=headers,timeout=timeout)
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing