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โ.
Partecipa alla discussione - aggiungi un commento di seguito:
I just did some configuration tweaking. POST to api.listennotes.com works.
Could you try POST https://api.listennotes.com/api/v1/episodes/ again?
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.
Using this URL works: https://listennotes.p.mashape.com/api/v1/episodes, so the problem is with api.listennotes.com