gh api --input payload.json /repos/owner/repo/releases

Category: GitHub CLI

gh api --input payload.json /repos/owner/repo/releases

Send a JSON request body from a file

Sends a JSON request body read from a file instead of specifying fields inline.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.