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

Practice Problem

Hard

Created by

Wayground 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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?