Hi All: I have a situation where the partner will be sending the HTTP OPTIONS before sending actual POST body . we need to send them a "custom header back when they srnd http OPTIONS. when i test from postman it shows 200 OK for OPTIONS but it doesn’t triggger the _default. But I am not able to capture the savepipeline, I mean it doesn’t kick in the REST method. I am not sure maybe server is responding with 200 and not letting the OPTIONS hit the code. I created _post and _default event. What extended settings do I need to add. I have the below at the moment.
watt.server.cors.allowedOrigins=*
watt.server.cors.enabled=true
watt.server.cors.exposedHeaders=
watt.server.cors.host=
watt.server.cors.maxAge=-1
watt.server.cors.supportedHeaders=Accept,Cache-Control,authorization,samlassertion,Content-Type,content-type
watt.server.cors.supportedMethods=GET,POST,PUT,DELETE,OPTIONS,HEAD
watt.server.cors.supportsCredentials=false