microsoft / MSRC-Microsoft-Security-Updates-API

Repo with getting started projects for the Microsoft Security Updates API (msrc.microsoft.com/update-guide)
https://msrc.microsoft.com/update-guide
MIT License
366 stars 115 forks source link

Requests to https://api.msrc.microsoft.com/cvrf/v2.0/updates ends in circular redirect #145

Open karsten-klein opened 6 months ago

karsten-klein commented 6 months ago

When introducing the v3 api it seems that some change causes https://api.msrc.microsoft.com/cvrf/v2.0/updates into circular redirects.

lasen00 commented 6 months ago

I have the same issue for the last two days

p0w3rsh3ll commented 6 months ago

Idem for me. I've a Response status code does not indicate success: 302 (V2 deprecation | redirect) from the Private/Get-CVRFID.ps1 function when invoke-RestMethod is called. I had a script that forced the use of the v2.0 API version. I just switched to v3.0 and it worked.

karsten-klein commented 6 months ago

The issue seems to be fixed. Requests to the former URL are now propagated to the v3.0 URL.

emrekara369 commented 5 months ago

I solved this problem by changing the API version. You can use this link: https://api.msrc.microsoft.com/cvrf/v3.0/updates