ListenNotes

FREEMIUM
От Listen Notes | Обновлено hace 21 días | Media
Популярность

9.3 / 10

Задержка

97ms

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

100%

Health Check

N/A

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

Problem with batch fetch episodes

Rapid account: Shaandsingh
shaandsingh
hace 5 años

This endpoint was working, but now I’m getting: “Endpoint/api/v1/episodes does not exist”. To fetch one episode, I would execute the following request: request( “https://api.listennotes.com/api/v1/episodes/” + episodeID,
method: .get,
headers: [“X-Mashape-Key” : API_KEY,
“Accept” : “application/json”])

This works fine. To batch fetch, I execute the following request:

request(“https://api.listennotes.com/api/v1/episodes”,
method: .post,
parameters: [“ids” : “id1,id2,id3,…”],
headers: [“X-Mashape-Key” : API_KEY,
“Content-Type” : “application/x-www-form-urlencoded”,
“Accept” : “application/json”])

I believe this is how it is set up in the documentation. Response is “Endpoint/api/v1/episodes does not exist”.

Rapid account: Listennotes
listennotes Commented hace 5 años

I just did some configuration tweaking. POST to api.listennotes.com works.

Could you try POST https://api.listennotes.com/api/v1/episodes/ again?

Rapid account: Listennotes
listennotes Commented hace 5 años

Ah, url redirect doesn’t work well with POST requests.

Maybe I should change it to GET request, or make sure url redirect could work with POST requests. Let me think about that.

Rapid account: Shaandsingh
shaandsingh Commented hace 5 años

Using this URL works: https://listennotes.p.mashape.com/api/v1/episodes, so the problem is with api.listennotes.com

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

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