Vonage / vonage-java-code-snippets

Java code examples for using Vonage
MIT License
11 stars 31 forks source link

Receive sms #12

Closed judy2k closed 7 years ago

judy2k commented 7 years ago

At the moment, this is pretty much identical to the code in ReceiveDLR. It should probably be modified so that it extracts values specific to the payload object, and prints them out nicely - to differentiate the two.

For the moment, though, I've taken the path of least resistance and opted not to actually parse the incoming JSON (because that's horrible in Java, and I didn't want to have to define a Jackson object in quickstarts)

judy2k commented 7 years ago

@ChrisGuzman Ready for another review if you get a moment. Incorporated your suggestions (with a minor rewording of the comment)