Skip to content

Edanprof/go-http-testing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

#Testing Go HTTP Endpoints

Running the API server

#Make sure that you set your GOPATH correctly
go run src/main.go
#Creating user
curl -v -X POST localhost:3000/users --data '{"username": "dennis", "balance": 100}' -H 'Content-Type: application/json'
#Listing users
curl localhost:3000/users

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%