Web Connection
Request.Form()
Gravatar is a globally recognized avatar based on your email address. Request.Form()
  Vincent H.
  All
  Feb 14, 2019 @ 04:28am

Hi Rick,

For a webhook, I have to recover a json file, with header. I'm using Request.Form () and it works well in localhost.
On the web server, I do not recover anything. No error reported.
An idea ?
thanks in advance

Vincent

Gravatar is a globally recognized avatar based on your email address. re: Request.Form()
  Vincent H.
  Vincent H.
  Feb 14, 2019 @ 07:52am

Here is the answer of the header:

{"Content-Type":["text\/html"],"Expires":["Sunday 15-May-94 14:00:01 GMT"],"Server":["Microsoft-IIS\/10.0"],"Date":["Wed, 13 Feb 2019 22:00:53 GMT"],"Content-Length":["392"]}
Gravatar is a globally recognized avatar based on your email address. re: Request.Form()
  Rick Strahl
  Vincent H.
  Feb 14, 2019 @ 11:57am

I don't know - there's no reason that the behavior should be different on localhost or your server unless you're receiving different data.

Not sure what the header you show in your other message means in relation to your question.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Request.Form()
  Vincent H.
  Rick Strahl
  Feb 15, 2019 @ 01:47am

Hi Rick,

I finally found the source of the problem. The request on our server was made in GET. The answer was 200 but our method was not executed. With a POST, it works! Thanks for your help.

Vincent

© 1996-2019