Skip to content

Instantly share code, notes, and snippets.

@gbiellem
Created October 12, 2017 00:38
Show Gist options
  • Save gbiellem/98a7c2b7983a297517d2c702957c66b8 to your computer and use it in GitHub Desktop.
Save gbiellem/98a7c2b7983a297517d2c702957c66b8 to your computer and use it in GitHub Desktop.
Couch CORS test
$requestheaders = @{
"Origin" = "http://localhost"
}
$response = Invoke-WebRequest -Uri http://couch/inbox/_all_docs -UseDefaultCredentials -Headers $requestheaders
$response | Select -ExpandProperty Headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment