gfgf 0 Posted May 5, 2014 Posted May 5, 2014 Does anyone know how to initiate a library scan via the HTTP API using commandline, ideally WGET?
Koleckai Silvestri 1154 Posted May 5, 2014 Posted May 5, 2014 You need to send a POST request to http://localhost:8096/mediabrowser/ScheduledTasks/Running/2d67d886717cdade18d9640d4ebbb9cb. There is no GET request method to do this.
gcw07 347 Posted May 5, 2014 Posted May 5, 2014 I'd suggest using cURL instead of wget. curl --data "param1=value1¶m2=value2" http://hostname/resource
gfgf 0 Posted May 5, 2014 Author Posted May 5, 2014 (edited) Awesome. I did this and it didn't work. Is it because I have to be logged in, or because I did something wrong? curl --data http://localhost:8096/mediabrowser/ScheduledTasks/Running/2d67d886717cdade18d9640d4ebbb9cb Thanks Edited May 6, 2014 by gfgf
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now