a simple API with server socket written from scratch in Golang.
- Run
go run main.go
on the server package to run the server - Run
go run main.go
on the client package to run the client - Input the URL, accepted content type, and accepted content language
- The response will be sent by the server based on the input
- SERVER_HOST:SERVER_PORT/ (note: accepted content type must be text/html)
- SERVER_HOST:SERVER_PORT/greeting (note: accepted content type must be text/html)
- SERVER_HOST:SERVER_PORT/?name=SIUUU (note: accepted content type must be text/html)
- SERVER_HOST:SERVER_PORT/data (note: accepted content type must be application/xml or application/json)
- text/html
- application/xml
- application/json
- en-US
- id-ID
- Dhafin Raditya Juliawan
- Fadhlan Hasyim
- Rifqi Farel Muhammad