jgauffin / Griffin.WebServer

A web server built on top of Griffin.Framework
107 stars 42 forks source link

Error 400 by application/json Post. #44

Open Schlapp7 opened 4 years ago

Schlapp7 commented 4 years ago

hi Guys,

I have the following problem:

I send a Post request to the Griffin.WebServer via the dotNet HttpClient. The Post request is to be transmitted by a Json. The content type is application / json. I get the following answer:

StatusCode: 400, ReasonPhrase: 'Unsupported content-type: application/json',

Why?

I hope you can help me.