3 ms·
Show HN: Send a word get a word back
Hi everyone, I recently released a basic API that return the Part of Speech of a given word and also return another word with the same Part of Speech.
You can send up to 10 words at a time via POST request.
You can use it to create random sentences using an structure. Try with the sentence "today is a good day"
curl -X POST -F "msg=today is a good day" https://victorribeiro.com/pos/word.php
It will give you the POS of each word and a new word with the same POS.
https://victorribeiro.com/pos/
- ZinnZirconium 6y agoI love it! I love how your demo is curl and not a web page frontend!
- atum47 6y agoGlad you liked it. You can also send it as json. curl -X POST https://victorribeiro.com/pos/word.php https://victorribeiro.com/pos/word.php -H "Content-Type: application/json" -d '{"msg":"today is a good day"}'