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

Re: Possible to convert Javascript to an HTTPAPI call ?



   In HTTPAPI just make a http_url_get in the following format:
   [1]http://www.currency.me.uk/remote/ER-CCCS2-AJAX.php?ConvertTo=AUD&Con
   vertFrom=EUR&amount=1000
   This will return the raw number

   On Fri, Jan 4, 2013 at 12:01 PM, Ian Patterson
   <[2]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="[3]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:
     [4]http://www.scottklement.com/mailman/listinfo/ftpapi
     --------------------------------------------------------------------
     ---

   --
   Regards,
   Henrik Rützou
   �   [5]http://powerEXT.com
   �
References

   1. http://www.currency.me.uk/remote/ER-CCCS2-AJAX.php?ConvertTo=AUD&ConvertFrom=EUR&amount=1000
   2. mailto:ian@xxxxxxxxxxxxxxxxx
   3. http://www.currency.me.uk/remote/ER-CCCS2-1.php
   4. http://www.scottklement.com/mailman/listinfo/ftpapi
   5. http://powerext.com/
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------