Invoking a container
Written by
You can invoke a container:
- Using 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 it public.
HTTPS
After creating the container, you'll get the invocation link. Make an HTTPS request by sending an IAM token in the Authorization
header:
curl -H "Authorization: Bearer $(yc iam create-token)" https://bba3fva6ka5g********.containers.yandexcloud.net/hello