Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Serverless Containers
  • Comparison with other Yandex Cloud services
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Getting an IAM token for a service account using a container
    • Getting information about a container
    • Managing rights to access a container
    • Creating a container
    • Invoking a container
      • Invoking a container
      • Getting an invocation link
    • Managing a container
    • Getting information about a trigger
    • Creating a trigger
    • Managing triggers
  • Concepts
  • Practical guidelines
  • Access management
  • Pricing policy
  • Containers API reference
  • API Triggers reference
  • Questions and answers
  1. Step-by-step instructions
  2. Invoking a container
  3. Invoking a container

Invoking a container

Written by
Yandex Cloud
  • HTTPS

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

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC