Has anyone tried running a script against the agent via the API? #1431
Replies: 2 comments 7 replies
-
Please read https://docs.tacticalrmm.com/functions/api/ you need to open your brower's dev tools, perform the action from the web UI and you will see exactly the payload you need |
Beta Was this translation helpful? Give feedback.
-
Hi @wh1te909. I've tried that and the error that comes back seems to be the exact same error that I was receiving in Postman. After runnig the above api I looked through the logs for the environment and there were zero errors. Are there any debug conditions I can enable for the environment to get more details when attempting this api query? Thanks. |
Beta Was this translation helpful? Give feedback.
-
The swagger docs are limited in explaining if any parameters are required for the below api call
In Postman it looks like that specific call (with and without any other paramters) just spits back a 500 Server Error
And on top of this, I can't find any live logs of this error happening
(NOTE: I am running in docker, but I don't think that should effect the api calls as other api calls work fine.)
Beta Was this translation helpful? Give feedback.
All reactions