Powershell Integration
Hello,
I am attempting to manage some tasks using PowerShell. The link below is documentation that I am looking to utilize. Can anyone assist? Am I missing Headers or anything? I am receiving this error..
Error "The underlying connection was closed: An unexpected error occurred on a send"
Using this command...
$uri = https://thisismydomain:5555/AgilePointServer/Workflow/GetWorkItem/{TASKID}
Invoke-RestMethod $uri
https://documentation.agilepoint.com/11/developer/restmethodGetWorkItem.html
-
Hi Parker,
I spoke with the Product team, and they seem to think you are missing header information. Can you let us know how it works for you?
curl -X GET --header 'Accept: application/xml' --header 'Authorization: Basic YUYGUIH87686y8767687dfsdfsNZTA=' 'https://trialas2.nxone.com:443/AgilePointServer/Workflow/GetProcDefs'
The authorization info above is the base64 encoded username and password (ex: domainname\username:password).
Edit: This link may be helpful - https://www.jokecamp.com/blog/invoke-restmethod-powershell-examples/
Lucas
请先登录再写评论。
评论
4 条评论