For my job, I was looking through a few javascript files, and found a few AJAX calls that used POST, but didn't send any data. It seems they used to, but the backend was updated, and the data wasn't needed, and the previous developers left them as POSTs (or they just copied & pasted the $.ajax
calls from other files, and removed the data values).
I changed these empty POST requests to GET requests. I'm assuming it's more efficient to use a GET instead of an empty POST. I've looked, and haven't found anything useful.
So, is it more efficient to use a GET instead of a POST with no data sent?