I have looked at the post of people saying the resolved this issue by allowing the API to accept "text/plain".
Even though I have done so, I am still getting the below error:
"{ \"error\": { \"code\": \"InvalidRequest\", \"message\": \"Subscription validation request failed. Notification endpoint must respond with 200 OK to validation request.\", \"innerError\": {
\"request-id\": \"ec325726-5b30-4cb1-bec5-3ba3debf88b0\",
\"date\": \"2020-03-23T13:02:01\" } }}"
I have tested my API on Postman using the same request Microsoft sends when they are validating an API. All seems to be fine in Postman.
The image shows Postman results:

Please help.