Last active
November 13, 2016 11:59
-
-
Save darrenjrobinson/77b6ab4e09ae5db22f73bbd82d9ff6cb 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
# Azure Function URL | |
$uri = "https://myfunction.azurewebsites.net/api/MIMMetaverseSearch?code=INfCwbuzxDWY5324823648329648932rbh7hjT4nKcggE11qToTp8F2sdfdsCQ==" | |
# Search Object Type and Display Name | |
$body = @{"displayname"="Beeraholix"; | |
"objectType"="Person"} | |
# Convert to JSON | |
$body = $body | ConvertTo-Json | |
# Submit request | |
$response = Invoke-RestMethod -Uri $uri -Method POST -Body $body | |
$response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment