module
Version:
v0.0.0-...-a4ad6bd
Opens a new window with list of versions in this module.
Published: Apr 30, 2022
License: MIT
Opens a new window with license information.
README
¶
hello-go-openapi-apifirst
Build
./build.sh
Run
# server
pets-server
# client
pets-client
curl
# add
curl -H 'content-type:application/json' -X POST --data-binary '{"name":"john"}' localhost:8080/pets
# list
curl localhost:8080/pets
# query
curl localhost:8080/pets/1000
# delete
curl -X DELETE localhost:8080/pets/1000
Directories
¶
cmd
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.