picfit
picfit copied to clipboard
HTTP methods
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:
-
uploadcan become aPOST -
displaycan become aGET -
deletecan become aDELETE -
getcan become aGETwith a specified content-type header (as we are displaying json) -
redirectshould stay in its place for now