24 - API Testing with Rest Assured - Create GitHub Repository using Rest Assured

Опубликовано: 18 Июнь 2026
на канале: Lets Learn QA
138
12

API Testing with Rest Assured - Create GitHub Repository using Rest Assured

We will use GitHub API to create repository on GitHub.
Steps:
1)Search in Google - GitHub API Documetation

2)Go to Repositories
OR
Open following URL direclty.
https://docs.github.com/en/rest/repos

3) Find Create a repository for the authenticated user

4) Follow instruction as per API documentation.

Request Body to create Repository
{
"name":"RepoFromRestAssured",
"description":"This is your first repo!",
"homepage":"https://github.com",
"private":false,
"is_template":true
}