Open tonypark7277 opened 2 years ago
Yes, it is okay to use JSONResponse for POST, PUT, or DELETE method.
Please refer to https://github.com/swsnu/swppfall2021/issues/113#issuecomment-951820555 for more detailed explanation.
Thank you for quick reply! I solve my another problem thanks to your additional advice
In README.md, it says that "Also, please make sure to implement your request methods under the following detailed specifications (in your views.py). When the server successfully handles a request, it responds with a JSONResponse for GET(except /api/signout/) and responds with a HTTPResponse for POST, PUT, and DELETE."
Is it okay to use JSONResponse for POST, PUT, or DELETE method?