/lbc

FizzBuzz HTTP Server

Primary LanguageGoGNU General Public License v3.0GPL-3.0

FizzBuzz HTTP server

Build Status

Serves FizzBuzz lists on /

Example usage

  • Install the package:
go get github.com/msornay/lbc
  • Start the server:
lbc --addr :8070
  • Query the server:
curl -H "Content-Type: application/json" \
     -d '{"string1":"fizz","string2":"buzz","int1":3,"int2":5,"limit":16}' \
     localhost:8070