Skip to content

Dhamu785/API_Tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API_Tutorials

Basics of Networking

  • HTTP - Hyper Text Transfer Protocol
  • HTTPS - Hyper Text Transfer Protocol Secure
  • GET - Get data from the server
  • POST - Send data to the server
  • PATCH - Used for updating existing values in the database
  • PUT - used to update the existing data
  • DELETE - Used o delete items in the db

Python - Fast API

1. Free Code Camp - YouTube

  • GET used to get information from the API Eg: localhost/home
  • Path parameter Eg: localhost/get-std-details/2. Here 2 is student id
  • Query parameter Eg: localhost/get-by-name?name=nick. It search for the name nick. It is not case sensitive when calling from direct url and it is sensitive with postman call.
  • Get by both PathParm(pp) and Query Parm(QP) Eg: localhost/get-by-pp-qp/1?name=kali
  • Post method used to upload data to the database through API. It values are entered through the body.
  • PUT used to update the existing data.
  • DELETE used to delete the data.
  • To run this script in cmd uvicorn file_name:app --reload

2. Bitfumes - YouTube

About

This contains all codes related to python API creation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages