I need to set up a service that need to accept POST messages to ANY route on that IP and have the web server listening to ALL IPs the machine has
I can make a list of local IPs easily, add 127.0.0.1 to it for testing.
How can I set up a callback on any post request, with the contents? I've just started to look at it 1h ago so the answer may be obvious.
This will handle all POST requests sent to whatever bindings you'd like:
Powershell test:
Invoke-WebRequest -uri "http://127.0.0.1:8081/Hello" -Method POSTOutput:
POST received: /Hello