issue PUT html command
Chris Sheffield
cmsheffield at icloud.com
Mon Feb 4 14:53:46 EST 2013
Excellent! I figured it had to be easy, and I wondered if it was accomplished using the normal put and get commands, but wasn't totally sure.
Thanks for the tip.
I do have one more question though. In the dictionary, it says that this is a blocking operation, so if for some reason the site is not available there could be a delay while the app waits for a response. The dictionary says to use libURLftpUpload instead for a non-blocking operation. Does anyone know if this can be used in the same way to accomplish a "PUT"?
Thanks,
Chris
On Feb 4, 2013, at 12:13 PM, Andrew Kluthe <andrew at ctech.me> wrote:
> put sVar into url "https://urbanaisrship.com/apidealaddressthing"
> --will accomplish a PUT
>
> and
>
> get url "https://urbanaisrship.com/apidealaddressthing" --will accomplish a GET!
>
> Isn't livecode grand?
>
> On Mon, Feb 4, 2013 at 11:42 AM, Chris Sheffield <cmsheffield at icloud.com> wrote:
>> I'm not even sure that's the right terminology. This is kind of related to my last post about push notifications. I found a neat web site (urbanairship.com) that has a server set up for sending push notifications to mobile devices. As far as I can tell, it's free to use. I'm still researching the details. Does anyone know anything about them?
>>
>> Anyway, they have an html api that allows for issuing certain commands, including registering device tokens, via PUT and GET. How do I do this with LiveCode? I haven't really done much of this kind of thing before. I'm sure it's easy, and will probably be obvious, but I'm not finding anything in the docs.
>>
>> Can anyone help?
>>
>> Thanks,
>> Chris
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> --
> Regards,
>
> Andrew Kluthe
> andrew at ctech.me
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list