Engine REST load scene

adishin

Well-known member
We are building a web based app API to control some viz scenes
in our tests we load scenes as described in the REST documentation using POST
while the scene is loaded, the REST server returens an error:
"Parse Error: The response has a duplicate "Content-Length" header"
we send:
Code:
curl --location 'http://localhost:9557/api/v1/scene' \
--header 'Content-Type: application/json' \
--data '"36740037-946A-6D47-A174-C140D3AF4B9E"'

the documentation say:
/api/v1/scene
POST ... Adds a new scene to the pool
Example Body: "A0A3A936-7114-4566-BA13BCB90096F947"
question is:
is there something wrong here, if yes, what?
 
Do you send an "Accept: application/json" header?
I don't know much about curl but when I tried it in postman i got a response: "201 Created".
1739951628690.png
 
Back
Top