# HTTP Service

Connecting to a container using HTTP is convenient, quick, and secure via HTTPS. To connect using the HTTP Service:

Step 1: Once the container is running, navigate to Container Details Page.

Step 2: Find Access container Section, open HTTP Endpoint.

Step 3: Follow the guide that matches your template.

| Template      | **Jupyter, Code Server**                                                                                                                                                                     | **Ollama WebUI**                                                                                                                                                             | **Ollama**                                  | **Vllm**                                                                                                                        |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Pre-condition | None                                                                                                                                                                                         | None                                                                                                                                                                         | None                                        | Hugging Face Token (\*)*Before creating a new container, you must fill your Hugging Face Token in Enviroment Variable section.* |
| Next steps    | <ul><li>Open the endpoint in your browser</li><li>Use the Username and Password fields in the Environment Variables section of the Container Details page to access your container</li></ul> | <ul><li>Open the endpoint in your browser</li><li>Create a new Open WebUI account or use your existing account.</li><li>Select a model to pull and test the model.</li></ul> | Testing your container using Postman (\*\*) | Testing your container using Postman (\*\*)                                                                                     |

(\*) Hugging Face Token: Hugging Face Token in Environment Variable section is required when using Ollama template. If you do not have Hugging Face Token yet, please follow this guide [User access tokens](https://huggingface.co/docs/hub/en/security-tokens).

(\*\*) Testing container by using Postman: Append **/v1/models** to your endpoint, then provide your API\_TOKEN in the Authorization. If you're using the vLLM template, also include HUGGING\_FACE\_HUB\_TOKEN in the request parameters to test your container.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ai-docs.fptcloud.com/~/revisions/d0RttJwM2X9AdNT4NYCf/ai-infrastructure/gpu-container/tutorials/how-to-connect-to-a-container/http-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
