Search code examples
google-app-enginegoogle-cloud-datastore

Deleting entity. GET or POST?


I'm trying to delete an entity, should I do it in a GET or POST?

I think both are correct, but which one is better?


Solution

  • You should use a POST since you are changing data. DELETE, although it exists, is much less common.