asonder
December 11, 2016, 11:13pm
1
My random quote machine is giving me a 403 error when I try to retrieve quotes from forismatic.com .
Here’s the text of the error:
https://crossorigin.me/http://api.forismatic.com/api/1.0/?method=getQuote&format=jsonp&jsonp=showQuote&lang=en&key=15456 Failed to load resource: the server responded with a status of 403 ()
I’m not sure if this is being caused by forismatic.com or crossorigin.me .
Should I look for another quote api to use, or is there some way I can fix this?
Thanks in advance.
INot sure if this helps, but 403 is a forbidden error. stripping the CORS proxy,
http://api.forismatic.com/api/1.0/?method=getQuote&key=15456&format=jsonp&jsonp=showQuote&lang=en
Returns something like
showQuote({“quoteText”:“The truth is always exciting. Speak it, then. Life is dull without it. “, “quoteAuthor”:“Pearl Buck”, “senderName”:””, “senderLink”:"", “quoteLink”:“http://forismatic.com/en/27ca9e6162/ ”})
Quote changes on each refresh so it must be an issue with crossorigin.me , which reports “header is required”.
asonder
December 12, 2016, 3:55am
3
Do you know if there is a good alternative to crossorigin.me ? I haven’t been able to find one.
I’m not quite as far along in the FCC challenges. If I find anything I’ll put it here, but it might be awhile.
jenovs
December 12, 2016, 2:17pm
5