i have 2 questions.
I have been struggling with this problem for 2 days.
1.What to write in the url when using fetch on a local server
let formData = new FormData();
formData.append('sentence', textarea.value);
let response = await fetch('', {
method: 'POST',
body: formData
});
console.log(response);
}```
[enter image description here](https://i.stack.imgur.com/kjCFx.png)
2.How to handle a request using django
```def check_name_s(request):
if request.method == 'POST':
print(loads(request.body))
return 0```
[enter image description here](https://i.stack.imgur.com/ZihbW.png)
I dont understand how to join.When i click on the post button, the request is sent, but with a 403 error.Sorry i have never worked with js and django