Code allows you to send a POST request to the route '/test' that takes a string "string_to_cut" as an argument. The code returns a key “return_string” and a string containing every third letter from the original string.
Project dependencies: Node.js, npm
To run the code:
- Download/clone the code
- Do npm install
- Run the code using npm start
- Send a POST request with the body {"string_to_cut":"anystringtocut"} to http://localhost:3000/test