Livecode Wiki
Advertisement

cURL is command line tool to send data across internet. Many websites use it just to send data using POST, GET and http protocols.

You can do the same tasks of cURL with put, post, get and HttpHeaders.

For example to send a token you can use this code:

put "Authorization: Bearer 55fghY524ee==" & return into tHeaders
put "Accept: */*" after tHeaders
set the httpHeaders to tHeaders
put URL "https://api.cronofy.com/v1/calendars"
Advertisement