Solved

cfm http post

Posted on 2016-09-27
5
31 Views
Last Modified: 2016-10-16
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.
0
Comment
Question by:ITsolutionWizard
  • 3
  • 2
5 Comments
 
LVL 50

Accepted Solution

by:
Ryan Chong earned 500 total points
ID: 41819099
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
 

Author Comment

by:ITsolutionWizard
ID: 41819106
how can i get the response xml?
0
 
LVL 50

Expert Comment

by:Ryan Chong
ID: 41819111
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
 

Author Comment

by:ITsolutionWizard
ID: 41819990
When I have view source on firefox, below is what i see

<xml><message>Success</message></xml>.
0
 
LVL 50

Expert Comment

by:Ryan Chong
ID: 41820995
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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

831 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