Sending a Post Request | Angular HTTP | Angular 13+
HTML-код
- Опубликовано: 9 окт 2024
- In this lecture you will learn how create and add some data in the database by sending an HTTP post request to the server. Let's learn step by step how to send a post request from an angular application.
DOWNLOAD STARTUP PROJECT HERE: drive.google.c...
One of the best lecturer on RUclips 😐😀
Thank you sir. You are a blessing on this Earth.
This was a wonderful tutorial, bit by bit 😊. It was my very first time doing this(though in Django) and shout outs, you saved my time a whole lot. 💗
you saved my day with the subscribe issue !!! thanks bro
Teaching is very good sir
Simply superb
Wow thanks for this video. I was chasing a ghost for 2 days trying to figure why my api was not being called.
Very informative - Thanks a lot
Yes this was great thank you so much! I have so much more confidence with http client than before I watched it :)
Why you did not use service class here in order to pass url? Without service class it is possible to connect with API?
I have a question that why i'm not able to see those responses in the console. but the data is available in the end URL with the product name as well...and the data i have dubmitted is also available under products array...but i response is not logging properly in the console....please help me with this.
what is the use of header?? whether we write the third param or not, it does not make any difference in the database so what is the main usecase of it??
best one sir
'http error response'. There seems a problem. The response I get in the network is
{
'error' : "Permission failed"
}
Why is that? Please help. Thanks.
And idea why the OPTIONS request is listed after the POST request at 13:20 ?
Is it just odd browser behavior?
The latest requests will be displayed at the top. Since first the OPTION request is made and after that the POST request, the POST request is at the top. And after that OPTION request
is this crud operations same for reactive forms in angular-16?
Sir in my case, firebase is giving error code 401 , unauthorised access, even if it is in test mode...
You're an amazing teacher. Thank you
Hi, thans for this tutorial. I try to post data from signup page to postgresql database. Is there any way to do it, this task.
What is the correct method to refresh the All products list automatically after the Add Product?
Thanks very much for your lectures. I have learned a lot.
Is there a way to have the final code for the ANGULARHTTPREQUEST?
Thanks in advance
What can I do if my headers option is not executed successfully..
I don't receive an 'ok' in status code
I am facing CORS plocy issue. Please guide me to resolve it.
sir may I know , is this post request same for reactive forms?
Thank you very much!
I have one question, i have seen some examples where someone tends to use "return this.http.post...", from my understanding function at the same time posts the resource to server and returns the resource posted in? Right?
I am getting 405 not allowed error in development console and In my firebase database also data is not getting inserted....please fix my problem anyone
please make a video on CRUD using reactive form
Getting CORS error while submit. Any tips to fix that?
If ngModel is used within a form tag, either the name attribute must be set or the form control must be defined as 'standalone' in ngModelOptions.. getting this error
Hello, I never used ngModel, my form tag only had , I used a btn submit button and it's just fine.
Great tutorial!
I have a question though: I tried to replicate what you did here but for me Firebase created a products object and the name of every object is the number of the position the object takes in the array (so 0, 1, 2...). How did you manage to change the NAME of the object to for example -N01VvCsv2...? Because in your DELETE request tutorial you use this ID to find and delete the data in the database.
Can you please elaborate on the problem or if possible can you send me the code snippet and screenshot of the problem
Wonderful
Thanks 🙏
Wonderfullll
Unfortunately, there's no link in the description :(
Added in description
I dnt know why but your explanation is just same as one of the angular tutorial on udemy 😅.
Please show the complete html code. It is not visible
i love you
after downlOAD NO SRC FOLDER Present
How to send more than 3 args in http post
can u share me the link database ?