You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
24.05.04 11:44:55 Service/HttpApi: Got HTTP custom variable get value name "myvar"
24.05.04 11:45:04 Service/HttpApi: Got HTTP custom variable set value name "myvar" to value "999"
24.05.04 11:45:07 Service/HttpApi: Got HTTP custom variable get value name "myvar"
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
The API router does not seem to be allowing GET requests for a custom variable only POST to set it.
I an running version: 3.2.2 (3.2.2+6688-stable-7417d2a0)
Looking at main on GitHub:
companion/companion/lib/Service/HttpApi.js
Line 301 in d753d96
This should get called and log a debug entry in the log on trying a GET
companion/companion/lib/Service/HttpApi.js
Line 606 in d753d96
My test:
curl -X POST http://192.168.0.162:8888/api/custom-variable/myvar/value?value=99
curl -X GET http://192.168.0.162:8888/api/custom-variable/myvar/value
I therefore think this is an issue with the GET been registered in the router at L301
Steps To Reproduce
No response
Expected Behavior
No response
Environment (please complete the following information)
Additional context
Think this might actually fix the above:
#2820
The text was updated successfully, but these errors were encountered: