gfgf 0 Posted May 5, 2014 Share Posted May 5, 2014 Does anyone know how to initiate a library scan via the HTTP API using commandline, ideally WGET? Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted May 5, 2014 Share 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. Link to comment Share on other sites More sharing options...
gcw07 347 Posted May 5, 2014 Share Posted May 5, 2014 I'd suggest using cURL instead of wget. curl --data "param1=value1¶m2=value2" http://hostname/resource Link to comment Share on other sites More sharing options...
gfgf 0 Posted May 5, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
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