I have not had much success in using libURL for put requests that are
non-blocking. However, I have recently thought of taking most of my
'serious businesss' http calls to CURL. I have a libCURL library from
someone somewhere (the late mark smith's?).

On Mon, Feb 4, 2013 at 1:53 PM, Chris Sheffield <cmsheffi...@icloud.com> wrote:
> 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 <and...@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 <cmsheffi...@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@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
>> and...@ctech.me
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@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
and...@ctech.me

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to