kaiwanyawit-chawankul / test-nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test with Docker Compose

Run

docker-compose up --build

Test

http://localhost/api/swagger
http://localhost/setup/imposters
http://localhost/stub/api/feature1 ->this will not work until you run a snippet from add endpoint

Test connection

docker ps
docker exec XXXXX curl

Add endpoint

curl -X POST -H "Content-Type: application/json" -d "@mock.json" http://localhost/setup/imposters

Credit

About


Languages

Language:C# 69.1%Language:Shell 19.1%Language:Dockerfile 11.7%