loading...

Having Problems CORS with the Dev.to API

twitter logo github logo ・1 min read

I'm trying to use the DEV.to API via a request from my personal webpage using JavaScript, and the browser is constantly blocking the request. I believe the problem is that with the CORS security that the certificate is not considered valid by the browser. This is specifically because the certificate is not issued to "dev.to" but to the actual server under the "fastly.net" domain. Will this continue, or will there be an eventual valid certificate for the "dev.to" domain to allow use without CORS violations in a browser?

twitter logo DISCUSS (5)
markdown guide
 

Will this continue, or will there be an eventual valid certificate for the "dev.to" domain to allow use without CORS violations in a browser?

I believe our intention is to fix this, but honestly we haven't had the time to look at it. Speaking without pure certainty, yes, we intend to fix this CORS issue.

If anyone can dump some helpful info on how we might want to approach this general problem, feel free to leave it here.

 
Classic DEV Post from May 31 '19

Presentation Tips for Technical Talks

Presentation Tips for Technical Talks

Jason Reed profile image
Self taught developer working primarily with Java building webservices and working on adding some frontend.

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️