Youtube v3

FREEMIUM
От ytdlfree | Обновлено 2ヶ月前 | Data
Популярность

9.9 / 10

Задержка

375ms

Уровень обслуживания

100%

Health Check

100%

Назад ко всем обсуждениям

request error 404

i get the request error 404

Rapid account: Ytdlfree
ytdlfree Commented 1年前

Please share the API response too

Rapid account: Onlyaddy 68
onlyaddy68 Commented 1年前

i am also facing the same
import axios from “axios”;
const BASE_URL = "https://youtube-v31.p.rapidapi.com/search"
const options = {
method: ‘GET’,

params: {
    maxResults: '50'
 
},
headers: {
  'X-RapidAPI-Key': process.env.REACT_APP_RAPID_API_KEY,
  'X-RapidAPI-Host': 'youtube-v31.p.rapidapi.com'
}

}
export const fetchFromAPI = async(url)=>{
const {data}= await axios.get(${BASE_URL}/${url},options);
return data
}

Rapid account: Ytdlfree
ytdlfree Commented 1年前

Kindly share complete details like API request, parameter, response.

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии