Skip to content

Instantly share code, notes, and snippets.

@trnktms
Created Nov 23, 2022
Embed
What would you like to do?
$config = Get-Content ../config.json | ConvertFrom-Json
$apiRoute = $config.SitecoreHost + '/api/<area>/<api1>'
$result = Invoke-WebRequest $apiRoute
Test-Json -Json $result -SchemaFile .\response-schema.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment