Test the ReverseJSON Web Service Provider

Provides instructions and the code required to send a JSON request to test the ReverseJSON Web service provider.

Now that you have your Web service provider running with all of its resources active, you are ready to send a JSON request to run the Web service. You can do this using any JSON requester tool.

  1. Create a JSON request with the following endpoint URL:
    http://localhost:5482/cics/services/json/reverse
  2. Set the Method to POST.
  3. Enter the following JSON request:
    {"myStrings":["olleH"]}

    You should receive the following JSON response:

    {"myStrings":["Hello"]}

This concludes the tutorial.