3 ms·
If you want to try it out: curl -X POST -F "msg=today" https://victorribeiro.com/pos/word.php https://victorribeiro.com/pos/word.php curl -X POST -H "Content-
by atum47 6y ago
If you want to try it out:
curl -X POST -F "msg=today" https://victorribeiro.com/pos/word.php https://victorribeiro.com/pos/word.php
curl -X POST -H "Content-Type: application/json" -d '{"msg":"day"}' https://victorribeiro.com/pos/word.php https://victorribeiro.com/pos/word.php
fetch('https://victorribeiro.com/pos/word.php' https://victorribeiro.com/pos/word.php',
{
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({msg: "today"})
}).
then( r => r.json() ).
then( data => console.log(data) ).
catch( e => console.error(e) )