Prots / bow-api

Some test stuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bow-api

Some test stuff

To build:

make local

To run:

go run main.go

or

./bow-api
  1. REGISTER:
curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"name":"player 1"}' \
  http://localhost:8080/api/v1/register
  1. RECORD:
curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"userName":"player 1","frameID":11,"score":10}' \
  http://localhost:8080/api/v1/record
  1. DISPLAY:
curl --header "Content-Type: application/json" \
  --request GET \
  http://localhost:8080/api/v1/display

About

Some test stuff


Languages

Language:Go 93.6%Language:Makefile 6.4%