Created
April 25, 2016 22:30
-
-
Save ATLPhenx/6ec1c4368d024aa363b8c51e019720f7 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'; | |
Invoke-RestMethod $TestDir -Method 'POST' -Body $jsonobject -ContentType 'application/json' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment