Solved

cfm http post

Posted on 2016-09-27
5
35 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 51

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 51

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 51

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET MVC identity 6 30
XML Node Counting in MS Access VBA 4 36
Google Maps with Webforms 1 13
Upgrade code from VS 2010 to VS 2015 7 16
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

837 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