Closed zhaoweiguo closed 10 years ago
jsonp requires the server to support it. It doesn't look like etcd currently supports jsonp. Additionally jsonp only works for GET not the PUT/DELETE they are currently using.
You can however start your server using -cors='*' which will allow you to do cross-domain ajax requests against it.
Thanks
Should we add "dataType: 'jsonp'" if you cross-domain using ajax