cURL for c:license

Trying to get a readout of about license but it keeps failing, probably due to lack och knowledge…

Can anyone fill in the blanks?
This is the curl I try:

curl --request POST
–url https://domain/coauthoring/CommandService.ashx
–data ‘{“token”:“JWT-TOKEN”,“c”:“license”}’

Hello @iamjackscereal, I am sending this request and get a correct result:

curl -X POST --location 'https://my_document_server/coauthoring/commandservice.ashx' \
--header 'Content-Type: application/json' \
--data '{"token": "my_token"}'

The payload of the token is

"c": "license"

Just get error 6 from the first, running it from Linux CLI.

Where do I submit the payload?

Please provide the whole request including the token so I could check where the error is.

Cant do that on a public forum. Perhaps you could state the exact command with payload included?

You can send the info to me via personal messages on this forum.