The various approach followed for upload service
Created
March 17, 2018 22:07
-
-
Save rambabusaravanan/22a481bf2a8ca6c35e06dcd42c64ef2b to your computer and use it in GitHub Desktop.
Upload Service
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
POST: https://addons.mozilla.org/en-US/firefox/users/edit
Content-Type: multipart/form-data (csrfmiddlewaretoken, username, email, ..., photo)
Response: HTTP 302 (empty response)
Location: https://addons.mozilla.org/en-US/firefox/users/edit (GET)
Notes: GET is the page request, POST is the api request with 302 of same url (refreshes the page once api is success)