Forked from ATLPhenx/gist:6ec1c4368d024aa363b8c51e019720f7
Last active
April 25, 2016 22:36
-
-
Save DWSR/15f3e8bf37cf8d3d87b9cc99191efd9a to your computer and use it in GitHub Desktop.
This file contains 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
$jsonObject = @{ | |
TERMID = 3232 | |
PINSERV = '192.168.1.52:5145' | |
MERCHANTID = 01 | |
ID = 1421336011 | |
Serv = '192.168.1.180:5150' | |
Lane = 2017 | |
} | ConvertTo-Json | |
$TestDir = 'path/filename.xml'; | |
$resp = Invoke-RestMethod -Method 'POST' -Body $jsonobject -ContentType 'application/json' | |
$resp | fl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment