`How to do basic authentication in GitHub?
D
D
dron1122021-02-24 15:17:43
GitHub
dron112, 2021-02-24 15:17:43

How to do basic authentication in GitHub?

try {
            const response = await axios
                .get(`https://api.github.com/search/users?q=${configRequest.NAME}&page=${configRequest.CURRENT_PAGE}&per_page=${configRequest.PER_PAGE}`)

            const users = await response.data
            const payloadAddUsers = {
                items: users.items,
                total_count: users.total_count,
                isLoading: false
            }
            commit('successFetchUsers', payloadAddUsers)


Making a request to a gitHub api, how to make a request with basic authentication ?
I need to increase the request limit to Api GtHub
https://docs.github.com/en/rest/overview/resources...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question