Curl: (6) Could not resolve host: gitlab.example.com

I want to Publish a Composer package by using the API

This guide helps me to: Composer packages in the Package Registry | GitLab

When i want to publish it, an error appears.What is the problem with host: gitlab.example.com?

In Use: Composer version 2.1.14 2021-11-30 10:51:43

Thanks for your support, it really helps! :blush:
The error message:

Hi @sebastian_zwei

In the documentation gitlab.example.com is used in place of either gitlab.com or the URL of your self-hosted GitLab instance. You should replace this with the URL of the GitLab you wish to use.

3 Likes

Yeah, I almost thought so. Thank you. :slight_smile:

1 Like