Invoking a CORS enabled API from JQuery Ajax/Javascript -
this question has answer here:
i trying data url https://www.gov.uk/api/organisations/skills-funding-agency
it resolves in browser , returns json response. not returning when invoked jquery ajax. tried jsonp
this might offtopic/particular case improve question amore generic one, once recieve answer
an easy solution run simple ajax post php file grabs contents via file_get_contents() recommended here: is there javascript way file_get_contents()?
Comments
Post a Comment