Created
October 25, 2022 03:20
-
-
Save Philmist/a402beef1ddade9c35ccccdcca49fe50 to your computer and use it in GitHub Desktop.
JSONを投げるやり方(Invoke-WebRequest版)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Invoke-WebRequest http://192.168.0.100:9090/philmist-bundle/recognized -Method "POST" -Headers @{"Content-Type"="application/json;charset=utf-8"} -Body ([Text.Encoding]::UTF8.GetBytes((@{"code"="R";"text"="本日青天なれど | |
も波高し"} | ConvertTo-Json))) -ContentType 'application/json' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment