【发布时间】:2015-07-06 17:11:33
【问题描述】:
我正在尝试使用 powershell 从 api 获取 JSON 详细信息。 我对 power shell 没有任何经验,但我想 Invoke-RestMethod 会有所帮助。
我尝试使用的 api 是:
api.spotcrime.com/crimes.json?lat=30.639155&lon=-96.3647937&radius=0.02&key=spotcrime-private-api-key
【问题讨论】:
-
你试过了吗?您应该可以通过运行
get-help invoke-restmethod或在 Internet 上搜索文档来查看文档。
标签: json powershell curl