Full Stack Web Dev (2020)| XHR Sends Data to The Back-End (Junior Dev)
You've captured data from the user on the front-end. How do we send it to the back end? I start guiding you through how front-ends and back-ends communicate with GET and POST. Starting with the XHR object.
For Junior Developers just getting into web development, understanding the fundamental back and forth of both the client and server is nothing short of necessary.
The XHR object is what gets us started. XML - a scripting langauge like HTML, but with the ability to create your own tags (we don't write the object with XML; we use Javascript) HTTP - a ruleset for how clients and servers, backends and frontends, should send data back and forth Request - the object sent by your browser to the backend; this tells the backend who you are and what you're doing there
We create this object and send dummy data to a dummy site that'll respond back. This is how we'll know if we're successful in communicating with the backend.
These are the first steps in executing on the request and response nature of web development.
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/
Subscribe to my lbry: lbry://@an_object_is_a#7
If you find value in what I do, think about supporting my channel: Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here: Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a
640385700 Bytes