Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log in to the API Store (https:/ /<YourHostName>:9443/store).
  2. Click the APIs menu in the API Store and then click on the API that you want to invoke. When the API opens, go to its API Console tab.

  3. Note the changes you did in the Swagger definition earlier displayed on the console. For example, expand the GET method and see the two parameters that you added:
    Let's invoke this API using the API Console.

  4. On the API Console, give values to the PhoneNumber and LicenseKey and click Try it Out to invoke the API. Image Removed

    Tip

    Tip: If you cannot invoke the API's HTTPS endpoint (causes the SSLPeerUnverified exception), it could be because the security certificate issued by the server is not trusted by your browser. To resolve this issue, access the HTTPS endpoint directly from your browser and accept the security certificate.

    Image Added

  5. Note the response for the API invocation. As we used a valid phone number in this example, the response is valid.
    Image Removed Image Added

 You have invoked an API using the Swagger API console.

...