file Action: Post file content that API

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

file Action: Post file content that API Tue Aug 11, 2015 6:58 pm • by Helmi
hi,

I wanted to post new files that are put in a special directory to a REST API endpoint. I tried to do it when th XMlHttpRequest but the JavaScript interpreter built into Hazel doesn't seem to support it.

Any idea how this could be done otherwise?

Thanks,
Frank
Helmi
 
Posts: 2
Joined: Thu Jul 12, 2012 1:25 am

Re: file Action: Post file content that API Wed Aug 12, 2015 11:23 am • by Mr_Noodle
Are you using the Run shellscript action? If so, not that you have to supply the interpreter. Hazel doesn't have any interpreters built-in. Also, make sure you are able to run the script outside of Hazel.
Mr_Noodle
Site Admin
 
Posts: 11196
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion