I have a problem with the API

Hello, I have a problem with the API. When I send a GET request I get a list of posts. And when I try to add a post through a POST request, I get a 400 error. What am I doing wrong, how do I add a post?

[https://stackblitz.com/edit/js-6gaeut?file=index.js])

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer