Open cchatfield opened 1 year ago
@cchatfield , when you are asking me to ping the endpoint. I am supplying the following parameters to the API you have listed above in the outline. correct?
the ping endpoint takes the message parameter. You pass the message parameter to the echo endpoint.
Typescript
Exercise (timed 1.5 hr)
Create a service that exposes a rest endpoint (port 30000).
Create ping endpoint (post via rest) that takes an incoming parameter named “message” and returns an object with the following parameters:
echo - response from postman echo service (Postman Echo ) called with ?message=[message param incoming value]
timestamp - current unix time
env - the current environment from the config
version - the current build version
Provide swagger endpoint for the rest service
Provide unit tests for service
Provide integration tests for service
Organize code in a maintainable way.