Working on PUT,DELETE Methods | Building Flask Application with Bootstrap | Part-4

preview_player
Показать описание
Working on PUT, DELETE Methods

The requests module in Python allows you to exchange requests on the web. It is a handy library that has many essential methods and features to send HTTP requests. The Python requests module has a simple API that you can use for handling all these requests. It offers you many exciting features, such as passing parameters within URLs, adding headers, sending custom headers, and much more.

Flask supports the common HTTP methods, including GET, POST, PUT, DELETE, and working with them is extremely simple, allowing us to build URLs and endpoints which only listen for specific HTTP methods.

In the previous video, we have worked on GET and POST methods, in this video, we will work on PUT and DELETE Methods as the PUT method completely replaces whatever currently exists at the target URL with something else. With this method, you can create a new resource, whereas the DELETE method is used to delete existing data at the specified resource. We will also use the curl command to understand PUT and DELETE methods.

++++++++++++++Follow us ++++++++++++++++

About us:
CodeGnan offers courses in new technologies and niches that are gaining cult reach. This is to ensure that students understand the workflow from each and every perspective in a Real-Time environment. Students can train themselves and enrich their skillset in the best way possible.
We always used to believe in student-centric methods. Every student, if trained in a Real-Time environment can achieve more in their careers. Hence, CodeGnan offers courses where students can access live environments and nourish themselves in the best way possible in order to increase their “CodeGnan”.

With Codegnan, you get an industry-recognized certificate with worldwide validity. You get to reach the heights of your career in a shorter period of time. With your skill set, you can find a place at any top companies in India and worldwide. This will help you to improve your skill set like never before and get access to the top level placement opportunities that are currently available.

CodeGnan offers courses in new technologies and makes sure students understand the flow of work from each and every perspective in a Real-Time environment.

#APIMethods #GETPOST
Рекомендации по теме
Комментарии
Автор

But when I am using json file the file doesn't contain update data. Any solution?

usharoyal