POST API call for uploads, rather than replying on lighttpd to be configured to redirect any request to 'index.html'.