Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

cfm http post

Posted on 2016-09-27
5
Medium Priority
?
65 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
[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
  • 3
  • 2
5 Comments
 
LVL 53

Accepted Solution

by:
Ryan Chong earned 2000 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
 
LVL 1

Author Comment

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

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
 
LVL 1

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 53

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

719 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