Skip to content

POST METHOD 101 is a simple example of communication between server API and client using Fastapi and Streamlit

Notifications You must be signed in to change notification settings

Laiagdla/postmethod_101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POST METHOD 101

This is a simple example of communication between server API and client using Fastapi and Streamlit


setup

Run the following commands in different terminal for testing. Make sure that port 8000 and 8501 are available

  • make run_api
  • make run_streamlit

BASE_URL is specified in params.py to localhost:8000


5 different aplications are tested

  1. Sending and receiving dataframes
  2. Sending forms
  3. [Easy] Sending a file using POST request and receiving information in the same request
  4. [Advanced] Sending a file using POST, and fetching the result with GET
  5. Sending multiple files.

About

POST METHOD 101 is a simple example of communication between server API and client using Fastapi and Streamlit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published