I need help with api

i need to get value of incorrect_answers individually but every time a error shows up


image

and the api in question is ?

https://opentdb.com/api.php?amount=1&difficulty=hard&type=multiple&encode=url3986

Please show your relevant blocks

I used this to get value from question


but it doesnot work when i try to get values of incorrect_answers
because it has 3 value

Where is the code where you ask for incorrect_answers?

this will get first incorrect_answer.

1 Like