Skip to content

How To Retrieve an XRDS Document Using cURL

jaredhanson edited this page Nov 4, 2011 · 1 revision

XRDS

curl -v -G -H 'Accept:application/xrds+xml' http://www.myopenid.com/

XRDS Redirect

curl -v -G -H 'Accept:application/xrds+xml' http://www.yahoo.com/ | grep 'X-XRDS-Location'
curl -v -G -H 'Accept:application/xrds+xml' http://open.login.yahooapis.com/openid20/www.yahoo.com/xrds
Clone this wiki locally