[PR #3942] [CLOSED] Fix curl command in documentation #11326

Closed
opened 2026-04-12 23:27:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3942
Author: @Isaakkamau
Created: 4/26/2024
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • 6c4e022 explicitly set the HTTP method to POST using the -X flag to avoid error when creating a new model from modelfile

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docs/api.md (+1 -1)

📄 Description

Explicitly set the HTTP method to POST using the -X flag to avoid errors when creating a new model from modelfile


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/3942 **Author:** [@Isaakkamau](https://github.com/Isaakkamau) **Created:** 4/26/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`6c4e022`](https://github.com/ollama/ollama/commit/6c4e022596d6d5d890df36e6b1748504af8a51b2) explicitly set the HTTP method to POST using the -X flag to avoid error when creating a new model from modelfile ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/api.md` (+1 -1) </details> ### 📄 Description Explicitly set the HTTP method to POST using the -X flag to avoid errors when creating a new model from `modelfile` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:27:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#11326