[http] Add file upload REST API.