Unsolved
2 Intern
•
309 Posts
0
1326
December 20th, 2019 08:00
Log in to Unity 5.x Rest API with Invoke-RestMethod
How do I connect to the Unity REST API with Invoke-RestMethod. I can connect with the Postman client with no problem. I must use Powershell as my REST client and choose to use the Invoke-RestMethod as opposed to Invoke-WebRequest. I found an article about this but it points to some websites that explain the solution with an old version of Unity and Powershell. There must be an easier way to do this by now.
https://www.dell.com/community/Unity/EMC-Unity-OE-and-Powershell-REST-login/td-p/7158943
No Events found!



Rainer_EMC
4 Operator
•
8.6K Posts
0
December 23rd, 2019 09:00
I am not aware of any fundamental changes to the Unity REST API in terms of login so whatever method you find for older versions should apply to 5.0 just as well