This was really informative. I learned Axios first and was like: Okay, this is how you make Get/Post requests. Fine. But learning about XMLhttpsrequests and fetch and the pain, that can come with it, lets me worship Axios even more and I understood, what Axios actually is doing for me! I love your content. Your the best explainer I have found so far. Keep it up! :)
This guy is very good. Highly recommended. I had no idea where to start in accessing a remote site for data, which I needed to do - and now I have three options. Many thanks
Great video! I'm trying to convince the people I work with to switch to Axios from fetch, and i'm using your mini-series as a tool to win the debate ;)
The one thing that drove me nuts with fetch is that it's almost impossible to run a post on your backend api ( php in my case ) and then get back the response ( a specific error message that I return from my php backend function ). With jquery $.post never had a problem, but of course jquery is old.. so I need to learn to use axios.
any one knows, why a response from an update, only show for less than a second on the console? im sending from express a mysql affectedrow message converted to json, but, once it gets to the frontend, it's only display for less than a second. =(
Wonderful video. It explains a lot about axios and helped me a lot in my project. I have one question though. On all major sites most of the requests to the APIs are not visible in the network tab. Is this possible with axios, or is there another method?
Hey, could you help me? I'm trying to calling an API Post with a huge object in the body. Getting your example as a example, I need to declare each parameter of my object in the body of Axios? Thanks
Hey I've completed your reactjs course on udemy and came to know about Meteorjs from another site. Just wanted to ask when will you talking about it? Explain what it is and how well does it go with react?
I have an array with values like usernames .. can we make axios get request on a condition ie., get data from url where username matches to our array values
Hello. Can you please help me. I need to upload a file of source code. The source code is already compressed, and I want to upload it compressed, as it already is, to the server. I'm in the process of trying to figuring which headers (& their respective values) I must set on client side, & which ones I must set at server. I want to send the zipped file to the server & get it back from the server zipped also. I believe these are the only headers I will need to choose from: Content-Type, Accept-Encoding, Content-Encoding, Accept-Type I just need to configure them correctly, then I am done. Cheers.
hay will you please tell us how to disable ssl cert error in axios. api that I'm trying to get data from has ssl enable on it and when i hit tha api from axios it says ssl cert error.
Can anyone please help me how to get single data from get request Means /posts/1 where 1 can be 2 3 ... passing a variable and works according to the id ?? Please help me I am in real trouble I need to submit my project this week
Searching for aoxis api and found this and found u are Maximiliam I just registered ur react course on udemy!! What a surprise! Will react js need to use aoxis api?
XMLHttpRequest is fine. I don’t see why so many wrappers and wrappers of the wrapper. It actually makes code harder to understand when there are many hidden or behind the scene “magic”. I load up a single webpage and it uses gobs of memory. People are so spoiled these days. LOL
I am using a react app and I always get thrown an AxiosError with this piece of code: ``` const { mutate, data, isError, error } = useMutation({ mutationFn: (params: UserRegisterType) => { return axios .post("/api/auth/register", params) .then((res) => res.data); } }); ``` I am using tanstack query so it can handle error states, loading states, and more. But I tried it without tanstack and the issue still persists. ``` axios.post("/api/auth/register", params) .then((res) => res.data); ``` I am sure this is correct but I still get the error. Also I know it is not the url because when I check the console it shows the url of the api and because I am hosting my app locally it is localhost:3000/api/auth/register. Any help will be appriciated
This was really informative. I learned Axios first and was like: Okay, this is how you make Get/Post requests. Fine. But learning about XMLhttpsrequests and fetch and the pain, that can come with it, lets me worship Axios even more and I understood, what Axios actually is doing for me! I love your content. Your the best explainer I have found so far. Keep it up! :)
I think axios is beginner friendly and easy to use than fetch, XMLHttpRequest. Thank you sir, for the mini series. Love it.
one year + with axios . love it!
This guy is very good. Highly recommended.
I had no idea where to start in accessing a remote site for data, which I needed to do - and now I have three options.
Many thanks
Thank you, this really means a lot to me :)
This was extremely helpful. You’re my web development superhero seriously thank you so much
Thanks, this was a really helpfull mini series
4 years old video but taught simply and straight forward❤
Great video!
I'm trying to convince the people I work with to switch to Axios from fetch,
and i'm using your mini-series as a tool to win the debate ;)
best video on youtube about axios
Whenever I get mad at Axios, I will remember this video and the amount of pain it is saving me from.
I got an error origin '127.0.0.1:5500' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Great mini series! always enjoy going back to basics and getting a refresher. Very well explained.
Happy to read that you like it Teo, thank you :)
is it possible to like this series twice? I would. Dude, THANK YOU
everything u need to know about this library. Very good video
Actually yes, this was helpful in my project. Thank you so much!
Question:
What if I want to use Axios,
but also use the "await", rather than ".then" and ".catch".
Is there a way to catch the error then?
Straight into the points, really helpful!
Thanks a ton for this amazing content, and by the way, I love your smile brother, when you smile, it makes me smile with you!
What a great mini-series
Thank you Jorge!
beyond perfect. I am also doing your angular course on Udemy and it has already been a great help
Thanks so much Payman!
Excellent!! Where did you get the page showed at 2:25?
Great mini series!!!
Looks super useful. I find myself writing a lot of error checking when using fetch.
thank you for the beautiful and simple explanation
Thank you for this tutorial! How can we handle file upload, through axios ?
Great tutorial! Love the syntax of Axios!
Very great content. It really touches the point I needed. Thanks keep up
Thank you sir, we really appreciate your generosity
A big thanks, you are really good at explaining this in detail
The one thing that drove me nuts with fetch is that it's almost impossible to run a post on your backend api ( php in my case ) and then get back the response ( a specific error message that I return from my php backend function ).
With jquery $.post never had a problem, but of course jquery is old.. so I need to learn to use axios.
Thanks for this videos.
This video is fantastic!
any one knows, why a response from an update, only show for less than a second on the console? im sending from express a mysql affectedrow message converted to json, but, once it gets to the frontend, it's only display for less than a second. =(
You are a great teacher! Thanks fro the videos
Wonderful video. It explains a lot about axios and helped me a lot in my project. I have one question though. On all major sites most of the requests to the APIs are not visible in the network tab. Is this possible with axios, or is there another method?
This was a much-needed comparison. If possible can you also make content regarding CORS proxy?
thanks for this video, can you show how to use chaining in get requests?
Hey, could you help me? I'm trying to calling an API Post with a huge object in the body. Getting your example as a example, I need to declare each parameter of my object in the body of Axios? Thanks
Super awesome sir! and so timely for me... thank you!
when i dot axios.post() , i get new element with only _id, without the data that I specified?
This video is fantastic! Cheers
Sir .. i can't access the axios object in my js file even i do the same as you in the importation of the unpkg link ?? am i missing something
Thank you for the very good tutorials. Axios is on average 8 to 9 times slower than the other 2 methods.
Where did you hear that? I’d really like to know.
Can we pull the API (json format) execution time from Axios?
How to solve the 401 unathorized error? Do I need to use tokens generated from the server side that I need to pass into the header?
Hey I've completed your reactjs course on udemy and came to know about Meteorjs from another site. Just wanted to ask when will you talking about it? Explain what it is and how well does it go with react?
Hello, how come I can't use the `import * as axios from axios` syntax with Node? ES6 import isn't natively supported yet?
I have an array with values like usernames .. can we make axios get request on a condition ie., get data from url where username matches to our array values
why the data on the api included the id and not the email and the password you posted? cannot understand it
Hello. Can you please help me.
I need to upload a file of source code. The source code is already compressed, and I want to upload it compressed, as it already is, to the server. I'm in the process of trying to figuring which headers (& their respective values) I must set on client side, & which ones I must set at server.
I want to send the zipped file to the server & get it back from the server zipped also.
I believe these are the only headers I will need to choose from: Content-Type, Accept-Encoding, Content-Encoding, Accept-Type
I just need to configure them correctly, then I am done.
Cheers.
i forgot how to use axios thanks for revision man
CROS problem get me crazy ,pls !help me!
Sir i am little confused which one should i use Axios, fetch api or asynchronous function to get data and post data?
what a leason♥
thanks you♥♥
i wonder how to catch error from validator of laravel api
hay will you please tell us how to disable ssl cert error in axios.
api that I'm trying to get data from has ssl enable on it and when i hit tha api from axios it says ssl cert error.
Can anyone please help me how to get single data from get request
Means /posts/1 where 1 can be 2 3 ... passing a variable and works according to the id ??
Please help me I am in real trouble I need to submit my project this week
Thank you so much you just simplify it for me
How about sending an objects list?
U r an awesome instructor !!
Thank you so much :)
is it possible to use axios to create a video chat app?
Could you do a video "10 things a webdeveloper should know" or something similar to this or do you already have some kind of videos like that?
This might be what you're looking for => academind.com/learn/web-dev/how-to-become-a-better-web-developer/
I have Max's react course and it wonderfull! I highly recommend it.
ACADEMIND RULES!!!
i need example for send for post body please
Really helpfull. Thanks ✌
Searching for aoxis api and found this and found u are Maximiliam I just registered ur react course on udemy!! What a surprise!
Will react js need to use aoxis api?
Would it be possible to know which IDE are you using for these videos?
I use Visual Studio Code.
@@academind Thank you very much!
Thank you Mister!
Thnx sir for such a great tutorials
thx for this video ! very helpful
Great video!
thanks, now, i know why i have to use axios
Thanks, this was a really helpfull
Please max explain http2 ?
may I request for axios with svelte ?
Thank you!
Not a single thumb down? I was almost tempted to give the first! :)
Very happy to get such an incredible feedback, please don't be the first with the thumb down here ;)
Deserves 1 crore love react ...
Thank you so much, it's really helpful. May God give you more success in your life. :-)
Thanks for this videos, i had a question what to use, now i get an answer)
I would have liked to see axios with async
Usefully video
Sir!! please do video for React360
Thank You!!! :) Have a Great Day!! Enjoy ~ Peace :)
XMLHttpRequest is fine. I don’t see why so many wrappers and wrappers of the wrapper. It actually makes code harder to understand when there are many hidden or behind the scene “magic”. I load up a single webpage and it uses gobs of memory. People are so spoiled these days. LOL
Use Axios in all projects cause it supports all browsers
Thank you !!!
Any suggestions for jQuery AJAX?
Max i love you brother
i love axios
Finally..
awesome
Re gister lol
"Mini-serious" 😄
waste of time dont watch it
I am using a react app and I always get thrown an AxiosError with this piece of code:
```
const { mutate, data, isError, error } = useMutation({
mutationFn: (params: UserRegisterType) => {
return axios
.post("/api/auth/register", params)
.then((res) => res.data);
}
});
```
I am using tanstack query so it can handle error states, loading states, and more. But I tried it without tanstack and the issue still persists.
```
axios.post("/api/auth/register", params) .then((res) => res.data);
```
I am sure this is correct but I still get the error. Also I know it is not the url because when I check the console it shows the url of the api and because I am hosting my app locally it is localhost:3000/api/auth/register.
Any help will be appriciated
Thanks, this was a really helpfull mini series
Thank you .. Very helpful video ... Just love the way you explain the usages ... :)