We have an Web API (.Net Core) application installed in Test and PROD server,
we are logging incoming request paths, using httpcontext Class.
But this class is giving path as /:undefined, sometimes as
/struts2-showcase/struts/inputtransfersselect.js,
/struts2-showcase/token/transfer4.action,
/index.action/struts/utils.js etc...
Where as in local, I am getting Path as /swagger/index.html, when I run API in Swagger, which is expected.
Why this is happening, how to avoid these urls hitting our API and resolve this problem. Thanks.