Fixed queries and switched to GET