Skip to content

Instantly share code, notes, and snippets.

@kevinzen
Created May 28, 2010 15:31
Show Gist options
  • Save kevinzen/417291 to your computer and use it in GitHub Desktop.
Save kevinzen/417291 to your computer and use it in GitHub Desktop.
When I share the first link using the following XML:
"""
<?xml version="1.0" encoding="UTF-8"?>
<link>
<email>[email protected]</email>
<password>password</password>
<share_emails>
<share_email>IMABADEMAILADDRESS!</share_email>
<share_email>[email protected]</share_email>
<share_email>[email protected]</share_email>
</share_emails>
<note>the note</note>
</link>
"""
Then I receive a HTTP 422
And I receive the XML:
"""
<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error>ERROR 110: Link sharing request contained invalid email: IMABADEMAILADDRESS!.</error>
</errors>
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment