File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
src/main/java/receive_a_message Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 3232** /values.dev.yaml
3333LICENSE
3434README.md
35+
36+ build /
Original file line number Diff line number Diff line change 51511. Start your voice quickstart application
5252
5353 ` ` ` bash
54- gradle build && java -Dserver.port=3000 -jar build/libs/Java-SMS -Quickstart-plain.jar
54+ gradle build && java -Dserver.port=3000 -jar build/libs/Java-Messaging -Quickstart-plain.jar
5555 ` ` `
5656
57572. Call the FreeClimb number assigned to the application you' ve configured for this tutorial
Original file line number Diff line number Diff line change @@ -62,6 +62,16 @@ public class SmsHelloWorld {
6262
6363 @ RequestMapping (value = { "/incomingSms" }, method = RequestMethod .POST )
6464 public void inboundSms (@ RequestBody IncomingSmsRequest request ) {
65+ System .out .println ("Received request: " + request );
66+ System .out .println (" From: " + request .from );
67+ System .out .println (" To: " + request .to );
68+ System .out .println (" Account ID: " + request .accountId );
69+ System .out .println (" Application ID: " + request .applicationId );
70+ System .out .println (" Message ID: " + request .messageId );
71+ System .out .println (" Direction: " + request .direction );
72+ System .out .println (" Status: " + request .status );
73+ System .out .println (" Text: " + request .text );
74+
6575 Dotenv dotenv = Dotenv .configure ().ignoreIfMissing ().load ();
6676 String accountId = dotenv .get ("ACCOUNT_ID" );
6777 String apiKey = dotenv .get ("API_KEY" );
You can’t perform that action at this time.
0 commit comments