Yes this a 3.0+ release, see http://openbd.org/manual/?/releases

Regards,
Matthew

On 22 Jun 2014 07:15, Marcus F <[email protected]> wrote:
Playing around with this a bit more, and I can't get it to work.

Using 2.0.2, I'm getting No such function exists - http.
Is this a 3.0+ feature?

On Saturday, June 14, 2014 12:03:26 PM UTC-5, Marcus F wrote:
Thanks Matthew, usually the tag and script version are noted on the same page, so when I went looking on the cfhttp page, there was only the tag version.

Out of curiosity, why is the script version http and not cfhttp?

Aaron, that page about cfscript is one of the best cfscript sources on the whole interwebs IMO, it covers so much in very little space, it's great.

On Saturday, June 14, 2014 8:42:54 AM UTC-5, Aaron J. White wrote:
Hey Matthew,
There is a good write up on cfscript syntax in the manual here: http://openbd.org/manual/?/cfscript
Just in case you didn't notice it yet.

Thanks,
Aaron J. White

On Saturday, June 14, 2014 4:37:33 AM UTC-5, Matthew Roach wrote:
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:openbd+un...@googlegroups.com>.
> 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.

--
--
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