My React App frontend Django backend on pythonanywhere.com is failing to save (POST to Django REST API with data) with a Forbidden 403 message.
On my local machine, it works perfectly fine -- it can both make the API call to "load" and the API call to "save" the state of the React App's data, which are two separate API calls.
When I put it on pythonanywhere, however, it can only "load" correctly -- that API goes off without a hitch. But, whenever it tries to save, it won't even attempt to run the APIView that it's supposed to, it immediately rejects it as 403 forbidden and will not run the "save" code.
(I tried putting in some "print" statements into the save code to see if it accessed it at all, and it didn't, it rejects it without running any of it, unfortunately.)
What could this be caused by? This is super frustrating, have been trying for awhile to figure this out but it's not getting sorted.