I don’t see the flat keys in the object that’s returned. I’m using JavaScript fetch.
I used this API in a previous project a year and a half ago using XMLHttpRequest and that application still works for the flat keys.
Únase a la conversación, añada un comentario a continuación:
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