When i try to test api with localhost:[port] it gives the invalid character in header [“Host”] console error. I am using dotnet core webApi. I cross checked the CORS configuration from api end it is fine. The issue is on the Postman side. Postman version : v8.7.0
I am attaching the screenshot.
You must set you localhost URL as 127.0.0.1:5100.
If you use ENVIRONMETS, check your URL variable CONTAINS “/” as last symbol.
like this: http://127.0.0.1:8000/ <------------
NOT THIS: http://127.0.0.1:8000
Any resolution for the above issue? I get the same error to the API call which is duplicated or forked, the API call that was initially created doesn’t have any issue.