Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.