In this video i show you how to use the Jquery ajax get and post methods.
HTTP Request: GET vs. POST
Two commonly used methods for a request-response between a client and server are: GET and POST.
GET - Requests data from a specified resource
POST - Submits data to be processed to a specified resource
GET is basically used for just getting (retrieving) some data from the server. Note: The GET method may return cached data.
POST can also be used to get some data from the server. However, the POST method NEVER caches data, and is often used to send data along with the request.
jQuery $.get() Method
The $.get() method requests data from the server with an HTTP GET request.
jQuery $.post() Method
The $.post() method requests data from the server using an HTTP POST request.
Next Tutorial: jQuery Ajax POST with PHP | Send data using PHP and AJAX
• jQuery Ajax POST example with PHP | S...
Links:
https://myskypower.net/
https://jquery.com/
https://api.jquery.com/jquery.ajax/