Re: Integrazione API

Vittorio Carlo Granata <[email protected]>
Newsgroups gmane.comp.cms.cold-fusion.devel.italian
Message-ID <[email protected]>
sei stato gentilissimo…
l'avevo letto nella documentazione… ma volevo essere sicuro…. 
ti ringrazio tantissimo.
Vittorio Carlo Granata
[email protected]



Il giorno 07/set/2012, alle ore 12:25, Roberto Marzialetti ha scritto:

> 
> devo usare cfhhtp in combinazione con cfhhtparam?
> 
> si. occhio a trimmare prima i dati che invi... :-)
> 
> <!--- crei l'xml --->
> <cfsavecontent variable="dati>
> il-tuo-xml
> </cfsavecontent>
> 
> <!--- invii --->
> <cfhttp url="urlWebservice" method="post" resolveurl="no" charset="utf-8" result="risposta">
>    <cfhttpparam type="header" name="content-type" value="text/xml">
>    <cfhttpparam type="header" name="charset" value="utf-8">
>    <cfhttpparam type="body" value="#trim(dati)#">
> </cfhttp>
> 
> <!--- la risposta --->
> <cfdump var="risposta">
>  
> 
> 
> mi potete aiutare?
> 
> comincia, poi bussa quando hai problema :-)
> 
> ciao!
>  
> 
> Vittorio Carlo Granata
> [email protected]
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Roberto Marzialetti
> webdeveloper
> m. 329 0681847
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.