Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 1.17 KB

README.md

File metadata and controls

31 lines (28 loc) · 1.17 KB

Dependencies

  1. Install python3
  2. Install the .NET SDK 6.0

Contents

  1. webui - contains the web page and web server scripts
  2. whitespace-removal-service - responsible for receiving strings with whitespace and returning a response with whitespace removed
  3. whitespace-counter-service - responsible for receiving strings with whitespace and returning a response with the number of whitespace characters in the string

Usage

Running webui (Hosts web page and opens in browser)

    $ cd webui
    $ python server.py

Running WhitespaceRemovalService

    $ cd WhitespaceApplication/WhitespaceRemovalService
    $ dotnet run

Running WhitespaceCounterService

    $ cd WhitespaceApplication/WhitespaceCounterService
    $ dotnet run

Some Example API Calls

  • httprepl http://localhost:5000
  • curl http://localhost:5000/WhitespaceRemovalService/{some%20String} -v

References