Skip to content

Instantly share code, notes, and snippets.

@suda
Created March 14, 2012 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suda/2037819 to your computer and use it in GitHub Desktop.
Save suda/2037819 to your computer and use it in GitHub Desktop.
Issue Stand Authorization

User authorization in Issue Stand magazines is done by sending username and password to a dedicated page on publisher's server (preferably HTTPS) and checking the result.

###POST Parameters Parameters are sent just like any HTML form.

  • username - username entered by the user
  • password - password entered by the user

###Server response Response is encoded in JSON format

{
	result: true
}

If provided username and password are correct, result should be true if not, the result should be false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment