Blob Blame History Raw
> POST /m8/feeds/contacts/default/full HTTP/1.1
> Soup-Debug-Timestamp: 1415489531
> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 4 (0x182f550), SoupSocket 4 (0x18d5c10)
> Host: www.google.com
> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
> GData-Version: 3
> Content-Type: application/atom+xml
> Accept-Encoding: gzip, deflate
> User-Agent: libgdata/0.17.0 - gzip
> Connection: Keep-Alive
> 
> <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:gContact='http://schemas.google.com/contact/2008' xmlns:gd='http://schemas.google.com/g/2005' xmlns:app='http://www.w3.org/2007/app'><title type='text'>John Smith</title><content type='text'>Notes</content><category term='http://schemas.google.com/contact/2008#contact' scheme='http://schemas.google.com/g/2005#kind'/><gd:name><gd:givenName>John</gd:givenName><gd:familyName>Smith</gd:familyName><gd:fullName>John Smith</gd:fullName></gd:name><gd:email address='liz@gmail.com' rel='http://schemas.google.com/g/2005#work' primary='false'/><gd:email address='liz@example.org' rel='http://schemas.google.com/g/2005#home' primary='false'/><gd:im address='liz@gmail.com' protocol='http://schemas.google.com/g/2005#GOOGLE_TALK' rel='http://schemas.google.com/g/2005#home' primary='false'/><gd:phoneNumber rel='http://schemas.google.com/g/2005#work' primary='true'>(206)555-1212</gd:phoneNumber><gd:phoneNumber rel='http://schemas.google.com/g/2005#home' primary='false'>(206)555-1213</gd:phoneNumber><gd:structuredPostalAddress rel='http://schemas.google.com/g/2005#work' primary='true'><gd:street>1600 Amphitheatre Pkwy Mountain View</gd:street></gd:structuredPostalAddress><gd:organization rel='http://schemas.google.com/g/2005#work' primary='false'><gd:orgName>OrgCorp</gd:orgName><gd:orgTitle>President</gd:orgTitle></gd:organization><gContact:jot rel='other'>This is a jot.</gContact:jot><gContact:relation rel='friend'>Brian Haddock</gContact:relation><gContact:website href='http://example.com/' rel='profile' primary='true'/><gContact:event rel='anniversary'><gd:when startTime='1900-01-01'/></gContact:event><gContact:calendarLink href='http://calendar.example.com/' rel='home' primary='true'/><gContact:externalId value='Number Six' rel='organization'/><gContact:language code='en-GB'/><gd:extendedProperty name='CALURI'>http://example.com/</gd:extendedProperty><gContact:userDefinedField key='Favourite colour' value='Blue'/><gContact:userDefinedField key='My notes' value=''/><gContact:userDefinedField key='Owes me' value='£10'/><gContact:userDefinedField key='' value='Foo'/><gContact:hobby>Rowing</gContact:hobby><gContact:nickname>Big J</gContact:nickname><gContact:fileAs>J, Big</gContact:fileAs><gContact:birthday when='--01-01'/><gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation><gContact:directoryServer>This is a server</gContact:directoryServer><gContact:gender value='male'/><gContact:initials>A. B. C.</gContact:initials><gContact:maidenName>Smith</gContact:maidenName><gContact:mileage>12km</gContact:mileage><gContact:occupation>Professional bum</gContact:occupation><gContact:priority rel='high'/><gContact:sensitivity rel='personal'/><gContact:shortName>Jon</gContact:shortName><gContact:subject>Charity work</gContact:subject></entry>
  
< HTTP/1.1 201 Created
< Soup-Debug-Timestamp: 1415489531
< Soup-Debug: SoupMessage 4 (0x182f550)
< ETag: "QHo8cDVSLit7I2A9XRdWFEUDQgc."
< Vary: Origin
< Vary: Referer
< Vary: X-Origin
< Content-Type: application/atom+xml; charset=UTF-8
< Date: Sat, 08 Nov 2014 23:32:11 GMT
< Expires: Sat, 08 Nov 2014 23:32:11 GMT
< Cache-Control: private, max-age=0
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< Server: GSE
< Content-Encoding: gzip
< Alternate-Protocol: 443:quic,p=0.01
< Transfer-Encoding: chunked
< 
< <?xml version="1.0" encoding="UTF-8"?>
< <entry gd:etag="&quot;QHo8cDVSLit7I2A9XRdWFEUDQgc.&quot;" xmlns="http://www.w3.org/2005/Atom" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:gContact="http://schemas.google.com/contact/2008" xmlns:gd="http://schemas.google.com/g/2005">
<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3d8219568aedc2a9</id>
<  <updated>2014-11-08T23:32:11.478Z</updated>
<  <app:edited xmlns:app="http://www.w3.org/2007/app">2014-11-08T23:32:11.478Z</app:edited>
<  <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/contact/2008#contact"/>
<  <title>John Smith</title>
<  <content>Notes</content>
<  <link rel="http://schemas.google.com/contacts/2008/rel#photo" type="image/*" href="https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/3d8219568aedc2a9"/>
<  <link rel="self" type="application/atom+xml" href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3d8219568aedc2a9"/>
<  <link rel="edit" type="application/atom+xml" href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3d8219568aedc2a9"/>
<  <gd:name>
<   <gd:fullName>John Smith</gd:fullName>
<   <gd:givenName>John</gd:givenName>
<   <gd:familyName>Smith</gd:familyName>
<  </gd:name>
<  <gContact:nickname>Big J</gContact:nickname>
<  <gContact:initials>A. B. C.</gContact:initials>
<  <gContact:shortName>Jon</gContact:shortName>
<  <gContact:maidenName>Smith</gContact:maidenName>
<  <gContact:gender value="male"/>
<  <gContact:birthday when="--01-01"/>
<  <gContact:occupation>Professional bum</gContact:occupation>
<  <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
<  <gContact:mileage>12km</gContact:mileage>
<  <gContact:directoryServer>This is a server</gContact:directoryServer>
<  <gContact:subject>Charity work</gContact:subject>
<  <gContact:fileAs>J, Big</gContact:fileAs>
<  <gd:organization rel="http://schemas.google.com/g/2005#work">
<   <gd:orgName>OrgCorp</gd:orgName>
<   <gd:orgTitle>President</gd:orgTitle>
<  </gd:organization>
<  <gd:email rel="http://schemas.google.com/g/2005#work" address="liz@gmail.com"/>
<  <gd:email rel="http://schemas.google.com/g/2005#home" address="liz@example.org"/>
<  <gd:im address="liz@gmail.com" protocol="http://schemas.google.com/g/2005#GOOGLE_TALK" rel="http://schemas.google.com/g/2005#home"/>
<  <gd:phoneNumber rel="http://schemas.google.com/g/2005#work" primary="true">(206)555-1212</gd:phoneNumber>
<  <gd:phoneNumber rel="http://schemas.google.com/g/2005#home">(206)555-1213</gd:phoneNumber>
<  <gd:structuredPostalAddress rel="http://schemas.google.com/g/2005#work" primary="true">
<   <gd:formattedAddress>1600 Amphitheatre Pkwy Mountain View</gd:formattedAddress>
<   <gd:street>1600 Amphitheatre Pkwy Mountain View</gd:street>
<  </gd:structuredPostalAddress>
<  <gContact:event rel="anniversary">
<   <gd:when startTime="1900-01-01"/>
<  </gContact:event>
<  <gContact:externalId rel="organization" value="Number Six"/>
<  <gContact:relation rel="friend">Brian Haddock</gContact:relation>
<  <gContact:userDefinedField key="Favourite colour" value="Blue"/>
<  <gContact:userDefinedField key="My notes" value=""/>
<  <gContact:userDefinedField key="Owes me" value="£10"/>
<  <gContact:userDefinedField key="" value="Foo"/>
<  <gContact:website href="http://example.com/" primary="true" rel="profile"/>
<  <gContact:calendarLink primary="true" href="http://calendar.example.com/" rel="home"/>
<  <gContact:language code="en-GB"/>
<  <gContact:jot rel="other">This is a jot.</gContact:jot>
<  <gContact:hobby>Rowing</gContact:hobby>
<  <gd:extendedProperty name="CALURI">http://example.com/</gd:extendedProperty>
< </entry>