[edit] I swear to god I’ve been researching and noodling for two hours. Then right after posting did a search for http and found this: Global Stop all Playing via URL? - RESOLVED
I never thought to use a GET, because as someone who doesn’t know what POST/GET is, I never would have tried GET because that doesn’t sound like what I’d be trying to do. I am now properly calling these links.
…it’s always when you finally break down and post the question do you find the answer…
[Original message:]
Hello, new to networking here so forgive my ignorance, and using a system which may be obscure but hopefully some common terms in the settings themselves that someone can help me make sense of.
I’m using node-red and trying to send an http request. https://nodered.org/
I have the online player url for stop-all with my authentication, and am trying various options in the node for an http request. Tried the options PUT and POST using these URLs:
https://syrinscape.com/online/frontend-api/stop-all/?auth_token=----
syrinscape-online://syrinscape.com/online/frontend-api/stop-all/?auth_token=----
The http errors out with "CSRF verification failed. Request aborted.
<p>You are seeing this message because this HTTPS site requires a 'Referer
header' to be sent by your Web browser"
And it seems node-red will not allow the syrinscape-online proxy to even try with its functionality as-is. In that node I am able to use basic, digest and bearer authorization, the last of which seems most like some kind of token input but I don’t think it solves my CSRF problem.
Though node-red may not be a common thing, do any of these details sound workable for options on making an http request from here?