Fixes #3111, Uploading picture with log fails

Repaired uri for posting