• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

a json winner

 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One of the winners in last week's promotion, sent me his information in JSON. Very cool. Reposted (and anonymized) with his permission.

Host : javaranch.com
Agent : Web Developer
Authorization : Basic dXNlcm5hbWU6amF2YXJhbmNoIHBhc3N3b3JkOnJvY23gIQ==
X-Custom-Opening : “Hi, thanks for selecting me as a winner!"
X-Custom-Salutation : “Thanks for the book!”


Message Body :
{
"Name" : "XXX",
"Address" : "XXX",
"Phone" : "XXX",
“Email” : “XXX@gmail.com”,
“Ebook Preference” : “XXX”
}
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You, of course responded with a 200 status, right?
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:You, of course responded with a 200 status, right?


Shoot. I wish I thought of that!
 
reply
    Bookmark Topic Watch Topic
  • New Topic