Fix correct API endpoint for content operations
Add option to allow non SSL requests, with passing tests.