The Complete Strapi™ Course with Plugins and Deployment - Integrating the Third-Party GitHub API

The Complete Strapi™ Course with Plugins and Deployment - Integrating the Third-Party GitHub API

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains how to connect a plugin to a GitHub profile by using the Octokit library for API interaction. It covers the installation of the library, setting up authorization headers for authenticated requests, generating a personal access token on GitHub, and securely storing the token in an environment variable. The tutorial ensures that the plugin can access public repositories while maintaining security best practices.

Read more

2 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

Why is it not a best practice to hard code the GitHub token in the plugin code?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

How do you include the Authorization header in API calls to the GitHub backend?

Evaluate responses using AI:

OFF