In this video, we will add a POST request to create a new review. To do this we will update our NextJs frontend to include a form to submit a new review. We will also make some updates to our backend to handle this, including using a new django cors headers library and temporarily removing user auth on the post and put requests for reviews.
Starting Code:
https://github.com/legionscript/Local...
Ending Code:
https://github.com/legionscript/Local...
Django Cors Headers:
https://github.com/adamchainz/django-...
Django CSRF Javascript:
https://docs.djangoproject.com/en/3.2...
Legion Script Website:
http://legionscript.com/