Created
May 28, 2010 15:31
-
-
Save kevinzen/417291 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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