filmov
tv
Sending POST data with AJAX in JavaScript
![preview_player](https://i.ytimg.com/vi/PIKrh5ofQF0/maxresdefault.jpg)
Показать описание
It's really easy to make a POST request through AJAX using JavaScript and then attach some data to send with that. This technique can be used to communicate with your server without refreshing the page and even feed it some useful information.
In this video I take you through a simple example of how this works by first setting up the request in JavaScript and then coding a simple PHP script which will do a basic manipulation of the POST variables. From there, we display the server response to the browser.
For your reference, check this out:
0:00 Overview
0:35 Creating XHR Object
0:52 Handling the response
2:08 Sending the request
4:46 Verifying that it works
5:48 Wrapping up
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript #webdev
In this video I take you through a simple example of how this works by first setting up the request in JavaScript and then coding a simple PHP script which will do a basic manipulation of the POST variables. From there, we display the server response to the browser.
For your reference, check this out:
0:00 Overview
0:35 Creating XHR Object
0:52 Handling the response
2:08 Sending the request
4:46 Verifying that it works
5:48 Wrapping up
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript #webdev
Sending POST data with AJAX in JavaScript
4: How to use get and post methods in jQuery AJAX - Learn AJAX programming
Sending POST Request to PHP Using Ajax Tutorial
How to send data to server using ajax || how to make a post request on ajax.
How to use jQuery - AJAX Get and Post Methods
Ajax Form Submit to POST JSON Data in MySQL Database using PHP and AJAX
Sending JSON with AJAX/XMLHttpRequest - JavaScript Tutorial
jQuery Ajax POST example with PHP | Send data using PHP and AJAX
Sending POST requests using AJAX (via JavaScript)to a Python Backend (via Flask)
jQuery Ajax Tutorial #2 - Posting data to backend (jQuery tutorial #8)
NodeJS. Send a POST request using AJAX in under 6 minutes.
How to Send Data in Ajax Using POST Method - Ajax Tutorial
Ajax Call Using JavaScript To Send Data Through Post method
Send form data using ajax-JQUERY , AJAX , JSON
AJAX: GET, POST, PUT and DELETE requests in Vanilla JavaScript Tutorial
How to convert a POST request into AJAX, Javascript - Laravel
1: How to Get Started With AJAX | AJAX Tutorial For Beginners | Learn AJAX | PHP | JavaScript
Sending Form Data with Ajax in Flask | API creation for Machine Learning Models
jQuery Send & Receive JSON Object using ajax post asp net mvc with Example
How to Send Multiple Data in Ajax Using POST Method - Ajax Tutorial
How to Send Multiple Data Using Ajax in PHP - Ajax Tutorial
29. Make a HTTP Post Request using Fetch API Method - Ajax
69 JavaScript AJAX post data to server
Sending JavaScript Http Requests with XMLHttpRequest
Комментарии