response.redirect problem

K

Ken_wdh

Dear all
I have a problem, could you please give me some suggestion
The problem is
There is one web application that provide API to other application, you can call the api through url, for example, you enter: "http://.../division.asp?a=10&b=2" in IE, you can see the api return "5" --- a/b= 10/2=5, in the page. And I want to code my own asp page which contain two input box, when user enter a: 10, b:2, then click "submit" button, asp program composite the URL="http://.../division.asp?a=10&b=2", then use response.redirect(URL) to call the API...At this point, I meet the problem, How can I get the returned message of API --- "5", then show in my own asp page?
 
R

Roji. P. Thomas

Think about SOAP and web services.

The samples with Microsoft SOAP toolkit 3
have a sample calculater application.



--
Roji. P. Thomas
SQL Server Programmer
--------------------------------------
Ken_wdh said:
Dear all,
I have a problem, could you please give me some suggestion?
The problem is:
There is one web application that provide API to other application, you
can call the api through url, for example, you enter:
"http://.../division.asp?a=10&b=2" in IE, you can see the api return "5" ---
a/b= 10/2=5, in the page. And I want to code my own asp page which contain
two input box, when user enter a: 10, b:2, then click "submit" button, asp
program composite the URL="http://.../division.asp?a=10&b=2", then use
response.redirect(URL) to call the API...At this point, I meet the problem,
How can I get the returned message of API --- "5", then show in my own asp
page?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,286
Latest member
ChristieSo

Latest Threads

Top