String server

The string-server is running on port 40001 on this server.

This project offers both a client and server, with public source code. The server is an example of using HttpServer and HttpHandler to implement a web service. The client demonstrates using HttpClient to access a web service. The supported operations on the server are:

  • /ping verifies server connectivity.
  • /echo requires a string and returns the same string.
  • /reverse requires a string and returns the reversed string.

Project repositories

Code for the server is in this GitLab repository: https://gitlab.com/kri/StringServer.

Code for the client is in this GitLab repository: https://gitlab.com/kri/StringClient.