Hello World Service Sample¶
This sample contains a simple REST API, which is exposed via the HTTP protocol.
When the API gets invoked, a simple message is generated and sent back to the client as the response.
Deploying the sample¶
- Open the sample by clicking on the Hello World Service card.
- Give a folder location to save the sample.
- Build and run the sample in your Micro Integrator.
Running the sample¶
-
Once the sample is running you will get a runtime services view with the API swagger definition. You can test the API using the swagger editor or follow step 2 for manual invocation.
-
Open a terminal and run the following command to invoke the API.
curl --location http://localhost:8290/HelloWorld/
-
You can also run the unit test cases defined for this sample.