Random Quote Machine API returns same quote

Hi,
This is my pen https://codepen.io/sakata_gintoki/pen/bzPwyB
I don’t know why but the API returns the same quote even after clicking the button many times.
If i open a new tab and go to the same API url many times it gives me different quote each time.
This is causing test#9 to fail.
Please help.

your get request response is being cached.

you can turn it off with a property
cache: false

documentation in here, search that page for ‘cache’
http://api.jquery.com/jquery.ajax/

That solved the issue Thank you.

1 Like