Invoking a container
Written by
Updated at November 2, 2024
You can invoke a container:
- Over HTTPS.
- Using a trigger.
- Using a Yandex API Gateway extension.
Note
If you want any user to be able to invoke a container without providing the authorization header, make the container public.
HTTPS
After creating the container, you will get the invocation link. Make an HTTPS request by sending an IAM token in the Authorization
header:
curl \
--header "Authorization: Bearer $(yc iam create-token)" \
https://bba3fva6ka5g********.containers.yandexcloud.net/hello