- Install GOT and hapi:
$ npm install got hapi
- Setup a MVC5 project and include
ApiController.cs
- Start
test-server.js
with node and start the MVC5 project - Run
$ node test.js
to run the test.
Expected result (order doesn't matter):
1: "1"
2: "2"
3: "3"
Actual result (the result varies):
1: "1"
2: "2"
3: "2"