I'm making a GET request using the PARSE API. I'm getting a "414 Request-URI Too Large" error, but I don't understand why. Here is the code for my request:
$.ajax({
url : 'https://api.parse.com/1/classes/chats',
type : 'GET',
dataType: 'json',
data : JSON.stringify({
order: '-createdAt',
}),
success : function(data) {
handleData(data)
},
error : function(data) {
console.log('error: ' + data);
}
});