What I’m I doing wrong here. Trying to toggle monitor status for a specific episode
I’m on Windows 10, and this comes from a batch
This is what’s in the json package (JSON.txt) {“seriesId”:35,“episodeFileId”:73653,“monitored”:false} so I don’t have to escape like a crazy person
%curl% -skX PUT https://127.0.0.1:9898/api/episode/@JSON.txt -H "%sonarr_api%" --compressed --data-binary ""
or
%curl% -skX PUT https://127.0.0.1:9898/api/episode/@JSON.txt -H "content-type: application/json" "%sonarr_api%" --compressed --data-binary ""
And I get this error
[Trace] Http: Req: 13483 [PUT] /api/episode/@TestJSON.txt
[Trace] Http: Res: 13483 [PUT] /api/episode/@TestJSON.txt: 405.MethodNotAllowed (1 ms)
[Debug] Api: [PUT] /api/episode/@TestJSON.txt: 405.MethodNotAllowed (1 ms)
please don’t point me to https://github.com/Sonarr/Sonarr/wiki/API the info on there is quite thin and I’ve went over it many times.