Example to use cURL -X PUT to send a PUT (update) request to update the user’s name and email. Terminal $ curl -X PUT -d ‘name=mkyong&[email protected]’ http://localhost:8080/user/100 If the REST API only accepts json formatted data, try this Terminal $ curl -X PUT -H "Content-Type: application/json" -d ‘{"name":"mkyong","email":"[email protected]"}’ http://localhost:8080/user/100 References cURL official website cURL – […]

Read more cURL – PUT request examples

When i received a new mail from yahoo mail box, my yahoo messenger will voice out a typical “de” voice and display a simple dialog box as “Yahoo! Mail 1 new message(s)” I just want my yahoo messenger to voice up a “You’ve got mail” voice whenever any new mail received. Here i show how […]

Read more How to set up “You’ve got mail” voice when receive yahoo mail.