Make HTTP requests to your Cerebrium endpoints
_private_function()
). Authentication is handled using the JWT token available in the API Keys section of your dashboard.
The POST request follows the structure below, where {function}
is the name of the function you want to invoke. For example, in this case, the function predict()
from main.py
is being called.
status_code
field in the JSON response from your main.py
.