[Freeswitch-users] Javascript: HTTP(S) POST to website

Anthony Minessale anthony.minessale at gmail.com
Mon Nov 3 11:48:45 PST 2008


method is the 1st arg to obj->run()
you can put the word "post" there.


On Mon, Nov 3, 2008 at 11:43 AM, Birgit Arkesteijn <birgit at westhawk.co.uk>wrote:

> Hi Anthony,
>
> Thanks for your reply.
>
> No, it just does a HTTP GET of the URL.
> With a HTTP POST the parameters shouldn't go as URL parameters, but
> should be posted after the connection is opened.
>
> With the functions fetchURL() or fetchURLHash(), there is no separate
> argument for the POST parameters, nor a way to explicitly set the method
> to POST (instead of GET).
>
> Hope that makes sense.
>
> Thanks, Birgit
>
> On 03/11/08 17:06, Anthony Minessale wrote:
> > I think you just need an https in the url. does that not work.
> >
> >
> >
> > On Mon, Nov 3, 2008 at 11:02 AM, Birgit Arkesteijn
> > <birgit at westhawk.co.uk <mailto:birgit at westhawk.co.uk>> wrote:
> >
> >     Hi all,
> >
> >     I would like to http post some dynamic data to a website in
> javascript,
> >     ideally over ssl.
> >
> >     I found the Wiki on the Javascript CURL functions:
> >     * fetchURL
> >     * fetchURLHash
> >     * fetchURLFile
> >     however that doesn't seem to do the trick.
> >
> >     Is there another way?
> >
> >     Thanks, Birgit
>
> --
> -- Birgit Arkesteijn, birgit at westhawk.co.uk,
> -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
> -- Company no: 1769350
> -- Registered Office:
> -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
> -- tel.: +44 (0)161 237 0660
> -- <URL: http://www.westhawk.co.uk>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081103/6fc49b84/attachment-0002.html 


More information about the FreeSWITCH-users mailing list