Check the availability of a word
| URL | https://api.taykt.com/word/{word} |
| HTTP Method | GET |
| Requires Authentication | No |
| Requires Encryption | No |
Example
curl -v http://api.taykt.com/word/fruit
XML Response
<?xml version="1.0" encoding="UTF-8"?>
<word self="http://api.taykt.com/word/fruit" available="true">fruit</word>
JSON Response
{
"word" : "fruit",
"self" : "https://api.taykt.com/word/fruit",
"available" : "true"
}
Note that you should check not only the availability attribute, but also the word attribute, as any leading or trailing space from the word you requested will have been trimmed meaning the availability status is for the word defined by the value of the word attribute.
This call will return a 400 status code if the word requested contains unacceptable characters. For words, stick to letters and numbers.