https://github.com/laiagdla/postmethod_101
POST METHOD 101 is a simple example of communication between server API and client using Fastapi and Streamlit
https://github.com/laiagdla/postmethod_101
fastapi post requests-python streamlit
Last synced: 6 months ago
JSON representation
POST METHOD 101 is a simple example of communication between server API and client using Fastapi and Streamlit
- Host: GitHub
- URL: https://github.com/laiagdla/postmethod_101
- Owner: Laiagdla
- Created: 2025-03-11T13:17:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-18T15:12:53.000Z (9 months ago)
- Last Synced: 2025-03-18T16:26:19.366Z (9 months ago)
- Topics: fastapi, post, requests-python, streamlit
- Language: Python
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 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.