UKGovLD / ukl-registry-poc

Workspace for design of UKGovLD registry proof-of-concept
Apache License 2.0
17 stars 2 forks source link

API security documentation bug #106

Open dr-shorthair opened 9 years ago

dr-shorthair commented 9 years ago

In the documentation of the security model https://github.com/UKGovLD/ukl-registry-poc/wiki/Security-model#non-browser-access, the example code for 'logout' is incorrect. Since logout requires a POST, instead of

curl -i -b cookie-jar -c cookie-jar http://ukgovld-registry.dnsalias.net/system/security/logout

I think it should be one of

curl -i -b cookie-jar -c cookie-jar --data "" http://ukgovld-registry.dnsalias.net/system/security/logout curl -i -b cookie-jar -c cookie-jar -X POST http://ukgovld-registry.dnsalias.net/system/security/logout