Twitter has deprecated the use of all methods that use DELETE as a request method,
DELETE :user/lists/:id
And now instead uses POST as the request method,
POST lists/destroy
Why has Twitter have stopped using DELETE in their API altogether, and now only use POST and GET for all methods?
- Is it performance?
- Is it security?
- What are the advantages of
building an API that only uses POST and GET?
I think there were compatibility issues with some clients being able to issue
DELETErequests. Looking back at the docs for one of the deprecated calls, I found this blurb.So, my feeling (and guess) is that since the
DELETEverb wasn’t uniformly supported, it was removed system-wide.Update: I sent a tweet to Taylor (@episod) at Twitter and asked what he thought about the above, and he sent the following responses:
So, usability — along with compatibility — seem to have been the key concerns with the deprecations.