Skip to content

Instantly share code, notes, and snippets.

@martianinteractive
Created May 17, 2009 21:21
Show Gist options
  • Save martianinteractive/113165 to your computer and use it in GitHub Desktop.
Save martianinteractive/113165 to your computer and use it in GitHub Desktop.
POST /api/v1/user_validation.xml HTTP/1.1.
Accept: */*.
Connection: close.
Content-Type: application/xml.
Authorization: Basic YXNkZmFzZGZhc2RmYXNkZjo=.
Content-Length: 460.
Host: 12.152.191.161:880.
.
##
T 192.168.1.101:52474 -> 12.152.191.161:880 [AP]
<?xml version="1.0" encoding="UTF-8"?>
<user-validation>
<confirm-email>vvv888vv@email.com</confirm-email>
<number>333-333-3333</number>
<tos-date>2009-05-11T18:43:06-07:00</tos-date>
<tos-checked>1</tos-checked>
<confirm-password>test</confirm-password>
<invite-code>asdfasdfasdfasdf</invite-code>
<last-name>Bayona</last-name>
<password>test</password>
<first-name>Sergio</first-name>
<email>vvv888vv@email.com</email>
</user-validation>
##
T 12.152.191.161:880 -> 192.168.1.101:52474 [AP]
HTTP/1.1 422 Unprocessable Entity.
Server: Apache-Coyote/1.1.
Set-Cookie: JSESSIONID=3C459E4163D51D23C055917EF2D98D39; Path=/.
Content-Type: text/html;charset=ISO-8859-1.
Content-Language: en-US.
Content-Length: 214.
Date: Sun, 17 May 2009 21:05:14 GMT.
Connection: close.
.
<?xml version="1.0" encoding="UTF-8"?>.
<errors>.
.<error>601:Error in parsing the request.</error>.
.
.<error>658:password must be at the minimum 6 characters and should have at least one digit.</error>.
</errors>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment