Can and how do you get remote data (e.g. JSON) into AppleScript?

前端 未结 4 1154
猫巷女王i
猫巷女王i 2021-02-04 19:44

I\'ve got a Web-based API to which I would like to send POST/GET requests via AppleScript. I\'d like to retrieve and parse the response such that I can feed it into another app.

4条回答
  •  有刺的猬
    2021-02-04 19:59

    I needed a version which didn't require any new dependencies (like installing an app). So I made a applescript only json encoder/decoder.

    https://github.com/KAYLukas/applescript-json

提交回复
热议问题