Skip to content

Web App for receive json post from clients, this app is using fastapi as core code

Notifications You must be signed in to change notification settings

laurobmb/jsonapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JsonAPP

Web App for receive json post from clients, this app is using fastapi as core code

Build App

podman build -t jsonapp:v1 .

Run App

Run localy

podman run -it --rm --name jsonapp -p8000:8000 jsonapp:v1

Run from Quay

podman run -it --rm --name jsonapp -p8000:8000 quay.io/lagomes/jsonapp:latest
podman run -d -it --name jsonapp -p8000:8000 quay.io/lagomes/jsonapp:latest

Post json sample

curl -X POST -H "Content-Type: application/json" -d @files/response.example.json 127.0.0.1:8000 | jq