Change API endpoints needs a restart of IIS

Running PU 3.0.1 on IIS

If I change url of an API endpoint, the change is not reflected right away, I need to restart IIS site

Product: PowerShell Universal
Version: 3.0.1

I haven’t been able to reproduce this. Are you creating an API with a variable perhaps?

/myApi/:variable

As show below, I changed from /test to /test1
and Invoke-RestMethod failed on /test1

Can you let me know what environment your API is running in?

Windows Server 2022 Enterprise with IIS. Thanks

Sorry. I wasn’t clear there. Are you running the API endpoints in the integrated, WinPS, or PWSH environment?

as PWSH :slight_smile:

but as you and others mentioned, maybe I have mixed v2 and v3 in same server which causes this?