Skip to content

Instantly share code, notes, and snippets.

@nicholasareed
Created December 12, 2011 07:54
Show Gist options
  • Save nicholasareed/1465767 to your computer and use it in GitHub Desktop.
Save nicholasareed/1465767 to your computer and use it in GitHub Desktop.
Pseudo Code Sample for Simple Integration
Do POST Authentication (see Important Notes in Docs)
Raw_Post = Get POST body
Post = Decode Raw_Post using JSON decoder
Sender_Email = Post -> from_address
Dictionary = DictionaryObject (Hello = Sender_Email )
Set the Header to: Content-Type: application/json
EncodedResponse = JSON encode Dictionary
Print EncodedResponse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment