ListenNotes

GRATIS CON POSSIBILITร€ DI UPGRADE
Da Listen Notes | Aggiornamento hace 15 dรญas | Media
Popolaritร 

9.1 / 10

Latenza

98ms

Livello di servizio

100%

Health Check

N/A

Torna a tutte le discussioni

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

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti