aspnet / WebHooks

[Archived] Libraries to create and consume web hooks on ASP.NET Core. Project moved to https://github.com/aspnet/AspLabs
Apache License 2.0
627 stars 439 forks source link

Update Error Message to reflect URL Encoded form data #145

Closed deinman closed 6 years ago

deinman commented 7 years ago

The Receiver_NoFormData error response message (here) is currently misleading about the expected format of the incoming request:

<value>The WebHook request must contain an entity body formatted as HTML Form Data.</value>

I would recommend updating the message to the following to improve clarity of the expected incoming format:

<value>The WebHook request must contain an entity body formatted as HTML form URL-encoded data.</value>

This would match the wording of the MSDN page for the IsFormData method here.

dougbu commented 6 years ago

4938597d17