How to use THNIC public check domain available API
You can use both $_GET and $_POST method to send domainname to check
API support .in.th, .co.th, .or.th, .ac.th, mi.th, .go.th, .net.th and punycode.th (ex. xn--42cl2bj2hxbd2g.th)
Note !
If your domain is Reserved Word, Incorrect format (Ex. domain...in.th) or Unavailable, Server Will Return 0
Sample Code
This sample code provide get and post method