Interacting with Serverless Cloud APIs
Developers can create endpoints on Serverless Cloud that respond to any HTTP actions like
PUT as explained here. Serverless Cloud provides a built-in interact functionality that lets you call the endpoints on the instances. It's available both for developer sandboxes and stages.
Note that the Interact feature is now in beta and should be used accordingly.
Let's look at some Interact usage examples. In the first example, we'll make a
GET request to the
/generate endpoint of Serverless Meme Generator. As it can be seen below, the URL parameters are provided and the response body and headers are presented as a result.
Second example might be making a
POST request to the
/register endpoint of the chat app which is built by Serverless Cloud team as an example app. As it can be seen below, you register a new user on the chat app by calling the endpoint from the Interact menu.