Solved

cfm http post

Posted on 2016-09-27
5
24 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 49

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 49

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 49

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sending E-mail ASP.Net 3 56
SQL best practice question 3 36
Registering DLL 5 43
Name space syntax error 12 40
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now