Skip to content

Commit

Permalink
fixed java code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Suyash Joshi authored and Suyash Joshi committed Jul 1, 2021
1 parent 9ee0186 commit 6436b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/messaging/sms/high-volume/sending-highvolume-sms.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ Simple request to send customized messages to multiple recipients
m.to = new String[] {numbers[i]};
parameters.messages[i] = m;
}
var resp = rc.restapi().account().a2pSms().batch(batchId).get();
var resp = rc.restapi().account().a2pSms().batch().post(parameters);
String jsonStr = new Gson().toJson(resp, new TypeToken<Object>(){}.getType());
System.out.println(jsonStr);
}
Expand Down

0 comments on commit 6436b49

Please sign in to comment.