openwhisk

    Users can call the OpenWhisk action via APISIX, pass the request parameters via JSON and get the response content.

    note
    • The property controls both the time taken by the OpenWhisk Action to execute and the timeout of the HTTP client in APISIX. OpenWhisk Action calls may consume time on pulling the runtime image and starting the container, so if you set the value too small, you may cause a large number of requests to fail. OpenWhisk supports timeouts ranging from 1ms to 60000ms, and we recommended to set at least 1000ms or more.

    Then, you need to create an Action for testing.

    Finally, you can send a request to this route and you will get the following response. And you can disable it by removing the openwhsik plugin from the route.