filmov
tv
How To GET & POST Data From API In JavaScript - Using Fetch() Function

Показать описание
In this video I am talking about how to fetch data from api in javascript and you will learn how to use the fetch api to post data to the api as well. I prepared a sample project to connect it to a test api and you will see how send and get data from server.
Firstly, I explain the javascript fetch API and talk about which parameters can you pass to this function to have custom request headers.
Secondly, I implement the users list feature of our sample project. I use a dummy api to get the users data and convert it to json object. I also show you how to send variables to your api along with your get request.
Finally, you will see how to send data to the api and create a new user in our user app database.
00:00 Introduction
00:44 What is the sample project
01:23 The sample project structure
02:09 Useful links
03:55 Fetch all users list [Get Request]
13:53 Filter users result
17:15 Add new item [Post Request]
26:32 Question!
Links:
Support me by subscribing to my channel:
Firstly, I explain the javascript fetch API and talk about which parameters can you pass to this function to have custom request headers.
Secondly, I implement the users list feature of our sample project. I use a dummy api to get the users data and convert it to json object. I also show you how to send variables to your api along with your get request.
Finally, you will see how to send data to the api and create a new user in our user app database.
00:00 Introduction
00:44 What is the sample project
01:23 The sample project structure
02:09 Useful links
03:55 Fetch all users list [Get Request]
13:53 Filter users result
17:15 Add new item [Post Request]
26:32 Question!
Links:
Support me by subscribing to my channel:
HTTP Request Methods | GET, POST, PUT, DELETE
Differences Between Get and Post - Web Development
26: POST and GET Superglobals in PHP | PHP Tutorial | Learn PHP Programming | PHP for Beginners
#15 Spring Web Http methods GET and POST
HTTP методы - различия GET и POST на примере
HTML - Form Methods: GET and POST
Python Requests | Get and Post Requests
019 - HTML Post/Get Explained
*HURRY*How to get thousands of gems per hour *POST* Paragon nerf | Anime Vanguards
PHP $_GET and $_POST explained
When to use HTTP GET vs POST?
HTTP GET Request vs POST Request - In 7 min einfach erklärt
Flask Tutorial #4 - HTTP Methods (GET/POST) & Retrieving Form Data
Postman Tutorial #7 - HTTP Methods GET and POST in Postman
#1 Introdução aos Verbos HTTP: GET, POST, PATCH, PUT, DELETE | Rest API
PHP Get And Post Methods | Get And Post Method In PHP With Example | PHP Tutorial | Simplilearn
Fetch API in 4 Minutes (GET, POST, PUT, DELETE | JSON)
#6 Servlet and JSP Tutorial | Get and Post
How to Get Facebook Post Url
GET And POST Method In Express JS | Handling HTTP GET And POST Request With Express JS | Simplilearn
PHP: How to Get Data from a Request | PHP get and post form methods
#8 Django tutorials | GET vs POST | HTTP Methods
PHP $_GET $_POST $_REQUEST Variables Tutorial in Hindi / Urdu
Comprendre & utiliser les méthodes GET & POST en PHP !
Комментарии