React and PHP part 5 - Insert data into mysql DB using FormData WEB API in react and PHP $_POST

preview_player
Показать описание
If we send JSON data from reactjs to php server using $_POST php gobal variable directly, then the request will fail. How can we use $_POST without using file_get_contents? FormData Web Api to the rescue
Рекомендации по теме
join shbcf.ru