score:0

change

const url = "https://localhost:8080/react-php/insert.php"

to

const url = "http://localhost:8080/react-php/insert.php"

you're likely getting an ssl cert error because you don't have an ssl cert


Related Query

More Query from same tag