Skip to main content
  1. Oldposts/

icanhazip and CORS

·64 words·1 min

I received an email from an user last week about enabling cross-origin resource sharing. He wanted to use AJAX calls on a different site to pull data from and use it for his visitors.

Those headers are now available for all requests to the services provided by! Here’s what you’ll see:

$ curl -i
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET