cfm http post

One of our clients gave us a way to do http post and return response like <xml><message>Success</message></xml>.
It looks like he gave us http post and it will return some message.

I just want to know how to call http post and get response message back so we can do something from the response.
so if response is success then, we do something.
LVL 1
ITsolutionWizardAsked:
Who is Participating?
 
Ryan ChongConnect With a Mentor Commented:
do you have any clue how you going to do it?
if no then perhaps you can build yours by referring to this example.

Calling a Web API From a .NET Client (C#)
http://www.asp.net/web-api/overview/advanced/calling-a-web-api-from-a-net-client

you can also use other .NET classes such as System.Net.WebClient to achieve this.
0
 
ITsolutionWizardAuthor Commented:
how can i get the response xml?
0
 
Ryan ChongCommented:
how can i get the response xml?
before answering that, what parameters are you passing to that web service/API ?

do you have some existing codes to share with us here?
0
 
ITsolutionWizardAuthor Commented:
When I have view source on firefox, below is what i see

<xml><message>Success</message></xml>.
0
 
Ryan ChongCommented:
When I have view source on firefox, below is what i see

<xml><message>Success</message></xml>.
yes, I know that. that's the response of the request.

what about your request setting? what parameters to be passed in?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.