Using Postman to Make Github API POST Request

During this post, we will cover how to submit a POST request through Postman to the Github API in order to submit a new issue on a Github repo.

First, download Postman here and open it.

Second, select request from menu and then name your request anything your heart desires and save it in a folder.


Third, select “POST” from the menu bar.

Fourth, select “Headers” from the menu underneath.
Fifth, enter in “token ENTERYOURCODEHERE” in the Value container.

Sixth, select “Raw” from Body menu bar.
Seventh, enter in your issue as a hash.

Lastly, get your response data and check Github to see if the Issue was posted! If it was, then your POST request was a success! Congratulations!

Below is the example, data for a request that I made to the Github API to post an issue on my blog, which can be viewed Maxgrok Github Issues

{ "url": "", "repository_url": "", "labels_url": "{/name}", "comments_url": "", "events_url": "", "html_url": "", "id": 312596781, "number": 3, "title": "Issue Test", "user": { "login": "maxgrok", "id": 16481962, "avatar_url": "", "gravatar_id": "", "url": "", "html_url": "", "followers_url": "", "following_url": "{/other_user}", "gists_url": "{/gist_id}", "starred_url": "{/owner}{/repo}", "subscriptions_url": "", "organizations_url": "", "repos_url": "", "events_url": "{/privacy}", "received_events_url": "", "type": "User", "site_admin": false }, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2018-04-09T16:20:31Z", "updated_at": "2018-04-09T16:20:31Z", "closed_at": null, "author_association": "OWNER", "body": "This is an issue!", "closed_by": null }
Published 9 Apr 2018

founder && full stack && ethereum developer.
Max Goodman on Twitter