I am working on the SPA application that sends requests for POCO http server, and I send credentials via headers like username = "user1", but that custom header is not part of the request, the title of the header is just added to the header "Access-Control-Allow-Headers": "username,....". How can I handle that situation with POCO HTTP server?
I added to the request and response headers but it does not work request.add("Access-Control-Allow-Origin", "*"); request.add("Access-Control-Allow-Headers", "origin, x-requested-with, content-type, x-custom-header-here");