Marcus,

The function http() is the cfscript version of CFHTTP - http://openbd.org/manual/?/function/http

Here's a very basic example

params = [
{ "type" : "header", "name" : "Content-Type", "value" : "application/x-www-form-urlencoded" }
];


httpResult = HTTP(
  method : "GET",
  url : 'http://openbd.org',
  httpparams : params
);

writeDump(httpResult);



Marcus F <mailto:[email protected]>
14 June 2014 04:01
I'm brushing up on my cfscript, and figured it would be good practice to rewrite some cfc's from tag based to cfscript.

I can't find anything about cfhttp in cfscript in OpenBD, anyone know how to get it to work?
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to