I am trying to integrate the Lenovo warranty API with power automate, i can do this with power shell but having no look using HTTP request. In its simplest form using the Invoke-RestMethod -Uri "http://supportapi.lenovo.com/V2.5/Warranty?Serial=DeviceSerialNumber"-Headers @{"ClientID"="LenovoProvidedID”} returns the information. But trying to the same returns 301 status code. I've tried numerous things but end up with the same result, thanks for any help in advance.

Report
All responses (
Answers (