2024-06-18, 08:03 PM
(This post was last modified: 2024-06-18, 11:34 PM by pcm. Edited 16 times in total.)
what response do you get ?
Could you paste the request and response log/output ?
Your request should look like this
Request Endpoint:Request Body:
If all goes well, you should get a
Per the documentation, the endpoint
So, passing a request body to
Could you paste the request and response log/output ?
Your request should look like this
Request Endpoint:
Code:
POST /Sessions/{sessionId}/Command
Code:
{
"Name": "SetRepeatMode",
"ControllingUserId": "{your-user-id}",
"Arguments": {
"RepeatMode": "RepeatOne"
}
}
If all goes well, you should get a
HTTP 204
response.Per the documentation, the endpoint
/Sessions/{sessionId}/Command/{command}
does not accept any request data payload. So, passing a request body to
/Sessions/{sessionId}/Command/SetRepeatMode
probably won't do anything...