#69 Sending a Post Request | Working with HTTP Request & Response | A Complete React Course
ฝัง
- เผยแพร่เมื่อ 2 ธ.ค. 2024
- In this lecture you will learn, how you can send a POST request to a server and create some records in the database. We are going to look at two approaches to send POST requests:
1. Using fetch() API provided by browsers
2. Using Axios library.
Startup project file: drive.google.c...
Thank you so much for your videos! Can you make a closer look video for callback functions?
Why you use useRef in this video and not useState with the event.target.value?
because we want to access to value of each input, and useRef creates a refrence variable that points to a Dom element.
🌟🌟🌟🌟🌟🌟