# Invoking a container

You can invoke a container:
* Over [HTTPS](#https).
* Using a [trigger](../concepts/trigger/index.md).
* Using a [Yandex API Gateway extension](../../api-gateway/concepts/extensions/containers.md).

{% note info %}

If you want any user to be able to invoke a container without providing the authorization header, [make the container public](container-public.md).

{% endnote %}

## HTTPS {#https}

After creating the container, you will get the invocation link. Make an HTTPS request by sending an [IAM token](../../iam/concepts/authorization/iam-token.md) in the `Authorization` header:

```bash
curl \
  --header "Authorization: Bearer $(yc iam create-token)" \
  https://bba3fva6ka5g********.containers.yandexcloud.net/hello
```

{% note info %}

Container calls may be restricted by [access policies](../../iam/concepts/access-control/access-policies.md#supported-policies).

{% endnote %}