News

Take advantage of the request decompression middleware in ASP.NET Core 7 to enable your API endpoints to accept requests that contain compressed content.
werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. The above exception was the direct cause of the ...
One of the gotchas I encountered using Flask / Werkzeug is that using GET to hit an API endpoint and access json attribute of the request object like this from flask import request; request.json wo ...