Re: Advice required with cURL, please!


2551phil
 


On 23 Oct 2017, at 10:44, Brian Christmas <ozsanta@...> wrote:

<head><title> 404 Not Found


This tells you that the url string you’re sending is wrong.

Start with a simple one-liner like this:

do shell script "curl " & “https:…/../.html”

until it works. Then build up from that.

Also, you’re getting the error message because you’re illegally trying to use ‘set end of’ on a string instead of on a list.

And why are you calling display dialog from system events?



Best


Phil
@sqwarq





Join applescript@apple-dev.groups.io to automatically receive all group messages.