Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Posting message and parsing response problem

Posted on 2003-03-11
1
Medium Priority
?
148 Views
Last Modified: 2011-10-03
I have a few problems/questions about posting a message to a server.  Basically i wanted to post the below infomation to the sms2email server via a bean/servlet.  The info is posted to a php page, when submitted, another page is opened giving a server response.  I also am required to keep this operation hidden or at least discrete from the user.  Is there any way to do this operation behind the scenes ?

http://www.sms2email.com/sms/postmsg.php?to_num=447778123456&
message=test+message+ok&flash=1&username=username&password=password

Server Response Codes - on html page e.g AQSMS-NOAUTHDETAILS

I would be grateful for any help - as i am totally lost!

bob
0
Comment
Question by:bob_jones12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 92

Accepted Solution

by:
objects earned 960 total points
ID: 8115471
InputStream in = new URL("http://www.sms2email.com/sms/postmsg.php?to_num=447778123456&
message=test+message+ok&flash=1&username=username&password=password").openStream();

You can then use the stream to read the response.



0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
In this article, I’ll show how research, determination, and use of modern technology helped me solve a DNA mystery.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question