Create resources through the REST API.
Section: API and GraphQL
POST to a REST endpoint
bash
bash
gh api repos/{owner}/{repo}/issues -f title="Bug report" -f body="Details..."Explanation
Create resources through the REST API.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing API and GraphQL