簡単なミスなのですが、何が起こっているかわかりません……
Accept=application/json
が間違っているのでしょうか??
Invoke-RestMethod -Uri "URL" -Method Post -Headers @{Acc ept = application/json, Content-type = application/json, Authorization = Bearer APIKEY} -Body test.json
以下エラーメッセージ
発生場所 行:1 文字:242
- ... tails=true -Method Post -Headers @{Accept = application/json, Content ...
-
~
パラメーター一覧に引数が存在しません。
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingArgument
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/07/04 11:54