Closed dolfinus closed 5 years ago
Fixed requests errors:
extract_arguments
werkzeug.exceptions.BadRequest
datetime.datetime is not JSON serializable
Fixed using application/www-form-urlencoded instead of application/json for request data
application/www-form-urlencoded
application/json
Return record data instead on non-JSON messages for PUT and PATCH requests
Return no data for DELETE request
Id and model name checks are wrappers now instead of copy-paste
Using exact routes for each method
Updated documentation for methods usage
This pull request also fixes issue with Access Token request.
There are series of conflict with the existing code base, would have love to merge this. but will find a way around it when am a bit free.
Fixed requests errors:
extract_arguments
for GET /api/model/:id request with no bodywerkzeug.exceptions.BadRequest
whle passing body for GET requestsdatetime.datetime is not JSON serializable
while GET date fieldsFixed using
application/www-form-urlencoded
instead ofapplication/json
for request dataReturn record data instead on non-JSON messages for PUT and PATCH requests
Return no data for DELETE request
Id and model name checks are wrappers now instead of copy-paste
Using exact routes for each method
Updated documentation for methods usage