From: Daniel Kahn Gillmor Date: Wed, 6 Jan 2010 02:33:03 +0000 (-0500) Subject: updated to our new all-json strategy X-Git-Tag: msva-perl/0.1~51 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd0f9a6bf55cb3c0dd2080367708231bac7a4c33;p=monkeysphere-validation-agent.git updated to our new all-json strategy --- diff --git a/README b/README index 0331768..e85b1c1 100644 --- a/README +++ b/README @@ -12,12 +12,15 @@ accepts two requests: POST /reviewcert (vars: uid, context, pkc) POST /extracerts (vars: certificates) +the variables that are posted are posted in a JSON string (*not* as www-form-encoded). + +the variables that are returned are application/json as well. + (PKC means: public key carrier: raw key, OpenPGP cert, or X.509 cert) (UID means: User ID (like in OpenPGP)) (context means: (this is too vague right now) something like "this certificate was used to try to identify an HTTPS server") - Authors: Daniel Kahn Gillmor Matthew James Goins Jameson Rollins