0 votes
in AJAX by
Which request is better, GET or POST?

2 Answers

0 votes
by

In AJAX HTTP GET request is more reliable as the data does not change for a given URL requested. HTTP POST should be used when state is updated on the server.

0 votes
by
AJAX requests should use an HTTP GET request where the data does not change for a given URL requested.

An HTTP POST should be used when state is updated on the server. This is highly recommended for a consistent web application architecture.

Related questions

+1 vote
asked Aug 18, 2019 in MVC Language by sheetalkhandelwal
0 votes
asked Sep 16, 2020 in XML by GeorgeBell
...