I think the main issue is in how you handle your form submit. So, you create your post fetch, but for some reasons it does not receive the body, and it can be because of preventDefault function.