picfit icon indicating copy to clipboard operation
picfit copied to clipboard

HTTP methods

Open thoas opened this issue 10 years ago • 0 comments

as @nsf proposed we should rely as much as possible on HTTP.

We need to be backward compatibility until the next major version and adapt as follow:

  • upload can become a POST
  • display can become a GET
  • delete can become a DELETE
  • get can become a GET with a specified content-type header (as we are displaying json)
  • redirect should stay in its place for now

thoas avatar Sep 05 '15 18:09 thoas