Thank you Matthias! I figured it was possible and I might be close.
Hopefully the archive of this thread will be useful for someone in the
future.
--Andrew Bell
Subject: Re: curl in LiveCode
Message-ID:
Content-Type: text/plain; charset=utf-8
Hi again,
rereading my post i noticed
Hi again,
rereading my post i noticed that the Accept... is also a header.
So this a modified version of my sample script
-- build header
put
"Key:e9242121ffd235b16f06c6e09cfd4373d18aa85d77dab4b858601051d4dd5b914ec298a3a29520ab"
into pHeaders -- api key
put return & "Accept:=application/jso
Hi,
i just did a short test
this works so far
put
"Key:e9242121ffd235b16f06c6e09cfd4373d18aa85d77dab4b858601051d4dd5b914ec298a3a29520ab"
into pHeaders
put
tsNetGetSync("https://api.abuseipdb.com/api/v2/check?ipAddress=172.217.9.174";,
pHeaders, rOutHeaders, rResult, rBytes) into tResult
tRes