Global Stop all Playing via URL? - RESOLVED

Hi,

I’m using HTTP get Requests to control the Sounds. For Example:

https://www.syrinscape.com/online/frontend-api/moods/329/play/?auth_token=xxx
or
https://www.syrinscape.com/online/frontend-api/moods/329/stop/?auth_token=xxx

I’m wondering if there is an URL to stop ALL Sounds, like the top Stop Button in the offical Web GUI ?

best regards

Daniel

1 Like

@flaedda Please try this link:

https://www.syrinscape.com/online/frontend-api/stop-all/?auth_token={AUTH_TOKEN}

1 Like

Hi, i tried the link you suggested but i get an Error:
Forbidden (403)
CSRF verification failed. Request aborted…

I’m using the REST functions from Maptool to do the Call.
Calls for playing or stopping Moods working fine this way.
The error only occours for the “stop-all” call.

best regards Daniel

Did you put your OWN auth token in at the end?

It works form me when I do that. :smiley: