swsnu / swppfall2021

Learning Software Engineering By Building Web Services
28 stars 19 forks source link

[hw4] Question about Json formating #132

Open tonypark7277 opened 2 years ago

tonypark7277 commented 2 years ago

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?

ttoru96 commented 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.

tonypark7277 commented 2 years ago

Thank you for quick reply! I solve my another problem thanks to your additional advice