Figure 19: View the configuration and staging URL of the rhoam-quarkus-openapi product.
Test the API
At this point, you can start making requests to your API via a HTTP client, as follows:
- Navigate back to the rhoam-quarkus-openapi product from the Products list.
- Open the Integration→Configuration section using the side menu and scroll down to the Staging APIcast section (Figure 19).
- Copy the staging URL from URL field, e.g.:
https://user-dev-rhoam-quarkus-openapi-3scale-api.cluster.com/?user_key=<API_KEY_GOES_HERE>
- Visit the staging URL in a browser or using your preferred HTTP client. Append /fruits to the path before the ?user_key portion of the URL. A list of fruits should be returned in JSON format (Figure 20).
Congratulations, you’ve gotten your Quarkus API pushed into a staging OpenShift API Management environment!