- Регистрация
- 10.03.2022
- Сообщения
- 194
- Благодарностей
- 13
- Баллы
- 18
I'm trying to make a GET request to retrieve image URLs from Freepik, but I'm using these settings, and it doesn't work at all.
I've already tried this URL:
And I've also tried this one with the API key directly in it:
(I removed the API key for security reasons).
In the Referer header, I tested using Freepik's website and also tried without it.
I set content_only as the standard and also tested other options, but it didn't work.
In MORE, I included this:
Authorization: Bearer MYAPI
I also tested different image options in the project settings, such as standard, alternative, etc., and nothing worked.
Can anyone help?
And I always get an "authorization denied" error.
Sometimes, it says the API key is incorrect when I change the method in the project settings, but I've checked the API key dozens of times, and it still doesn't work.
I've also tested the Pexels API, which has a similar structure, but it doesn't work either. However, the Pixabay API worked just fine.
Can anyone help? Attached are some images.
I've already tried this URL:
And I've also tried this one with the API key directly in it:
(I removed the API key for security reasons).
In the Referer header, I tested using Freepik's website and also tried without it.
I set content_only as the standard and also tested other options, but it didn't work.
In MORE, I included this:
Authorization: Bearer MYAPI
I also tested different image options in the project settings, such as standard, alternative, etc., and nothing worked.
Can anyone help?
And I always get an "authorization denied" error.
Sometimes, it says the API key is incorrect when I change the method in the project settings, but I've checked the API key dozens of times, and it still doesn't work.
I've also tested the Pexels API, which has a similar structure, but it doesn't work either. However, the Pixabay API worked just fine.
Can anyone help? Attached are some images.
Вложения
-
74 КБ Просмотры: 7
-
68,4 КБ Просмотры: 5