Skip to content

noahgift/functions-from-zero

Repository files navigation

functions-from-zero

live training

Python application test with Github Actions

To call Microservice

something like this

curl -X 'POST' \
  'https://noahgift-functions-from-zero-r7g59wcxx6x-8080.githubpreview.dev/wiki' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Microsoft"
}'

Build container

docker build . docker image ls

Run container

something like this

docker run -p 127.0.0.1:8080:8080 a81ce4f35866

Invoke POST request

run invoke.sh

References