Jump to content
Updated Privacy Statement

dhritiman ghorai

Legacy Group
  • Posts

    1
  • Joined

  • Last visited

dhritiman ghorai's Achievements

Newbie

Newbie (1/14)

  • Conversation Starter Rare
  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Do we need to do some configuration at controller end. The ports 80 & 443 are open between source and destination servers. Full error msg: "Invoke-RestMethod : Not Found Not Found HTTP Error 404. The requested resource is not found. At line:6 char:13 + $response = Invoke-RestMethod -Uri $uri -Method 'GET' -Headers $heade ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [invoke-RestMethod], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand" code snipet: $headers = New-Object "System.Collections.Generic.Dictionary[[string],[string]]" $headers.Add("Authorization", "Basic U1ZDLUdMT0JBTC1PbmVlbmdpbmU6ZipqYEJnclJoRSI7U2Z7Iyt9UFBeI0Y4cw==") $uri = 'http://<Delivery controller hostname>/Citrix/Monitor/OData/v4/Data/$metadata' $response = Invoke-RestMethod -Uri $uri -Method 'GET' -Headers $headers $response | ConvertTo-Json
×
×
  • Create New...