Rapid account: jsdisco

jsdisco / jsdisco

Stayin' alive (and sane) at the JavaScript Disco

Обсуждения

4
Title
Created at (Click to sort ascending)
A
1
Hallo Sherrisa, the response from the server does not depend on whether you make a request via XMLHttpRequest or the Fetch API, it should be the same in both cases. I have just tested this endpoint to retrieve the Ab minor chord with a fetch request: https://piano-chords.p.rapidapi.com/chords/ab/m The notes array in the response was as expected: ['Ab', 'B', 'Eb'] Can you be more specific about which endpoint you're trying to reach, and about the expected vs. actual response? Best regards, Maren@jsdisco Sun 6:38 12/11/23
A
1
Hi, I'm afraid that detecting a chord is not possible with this API. Wed 3:41 4/10/23
A
2
Hallo uniqschip, I have tested all routes (v1 and v2) with both an old and a fresh API key and found no issues. A list of ideas: - the request header needs these two key/value-pairs: {'x-rapidapi-host': 'piano-chords.p.rapidapi.com', 'x-rapidapi-key': YOUR-KEY-HERE'} - make sure that you have the correct key (on the rightmost panel on https://rapidapi.com/jsdisco/api/piano-chords while you're logged in to your account) - depending on the language you use, you can also copy/paste the whole code snippet from https://rapidapi.com/jsdisco/api/piano-chords - try an endpoint with https://www.postman.com/ instead of your IDE Hope you can fix the issue, Best, jsdisco Mon 4:42 8/5/23
A
2
Hallo uniqschip, I have tested all routes (v1 and v2) with both an old and a fresh API key and found no issues. A list of ideas: - the request header needs these two key/value-pairs: {'x-rapidapi-host': 'piano-chords.p.rapidapi.com', 'x-rapidapi-key': YOUR-KEY-HERE'} - make sure that you have the correct key (on the rightmost panel on https://rapidapi.com/jsdisco/api/piano-chords while you're logged in to your account) - depending on the language you use, you can also copy/paste the whole code snippet from https://rapidapi.com/jsdisco/api/piano-chords - try an endpoint with https://www.postman.com/ instead of your IDE Hope you can fix the issue, Best, jsdisco Mon 4:42 8/5/23