Send dataset post request as JSON

For the original poster (OP) to fill in:

Introduction

We have APIs that require sending a body formatted as a JSON. Currently the field “Data to add to this request” changes the data to URl encoded characters, causing the request to fail.

User Story

guardicore, Cisco, and others require a JSON (JWT) formatted body to get a response back.

url: https://guardicore_endpoint/api/v3.0/authenticate
body:  {"username": "<username>", "password": "<password>"}
URL: https:// api.us.etd.cisco.com/v1/messages/search
body: '{"timestamp":["2023-04-01T09:34:05.361Z","2023-04-19T17:34:05.361Z"]}' 

Any chance for this to make it into the next release?

This would be really great! No chance to use it with a “real” post request :slight_smile:

or did you find a workaround @jschoenstein ?

Other users aksed also about it before:

The best I’ve come up with is to run the command via powershell or bash, and import the data into the CMS using Xibo’s API. Unfortunately the import API doesn’t work in my Windows/Apache environment.