[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Possible to convert Javascript to an HTTPAPI call ?



Henrik,

perfect.

I didn't think it would be that easy.

Thanks again

 
Regards
 
Ian Patterson
 
Grange IT Limited

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Henrik Rützou
Sent: 04 January 2013 11:41
To: HTTPAPI and FTPAPI Projects
Subject: Re: Possible to convert Javascript to an HTTPAPI call ?


In HTTPAPI just make a http_url_get in the following format:

http://www.currency.me.uk/remote/ER-CCCS2-AJAX.php?ConvertTo=AUD&ConvertFrom=EUR&amount=1000

This will return the raw number


On Fri, Jan 4, 2013 at 12:01 PM, Ian Patterson <ian@xxxxxxxxxxxxxxxxx>wrote:

> A website offers free enquiry to its currency rates via a Java script to
> put
> on your own web page.
> It does not offer a soap type enquiry.
>
> Would it be possible to use a HTTPAPI post or get to do the same thing ?
>
> Here is the Java script they supply:
>
> <script type="text/javascript">
> var dcf = 'GBP';
> var dct = 'EUR';
> var f = 'arial';
> var mc = '2D6AB4';
> var mbg = 'f0f0f0';
> var tc = 'ffffff';
> var fc = '000000';
> var tz = '0';
>
> </script><script type="text/javascript"
> src="http://www.currency.me.uk/remote/ER-CCCS2-1.php";></script>
>
> I am quite familiar with HTTPAPI but not Java.
>
>
> Regards
>
> Ian Patterson
>
> Grange IT Limited
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>



-- 
Regards,
Henrik Rützou

 http://powerEXT.com <http://powerext.com/>

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------