Nelson Neoh Posted July 6 Share Posted July 6 (edited) As noted, the whois is going sunset for lots of registries and rdap or other kind will replace it. I have a problem with handling the uri which returning results in JSON form. Wonder how to deal with the expected keyword? The test in whois lookup. The sample response in JSON: {"code":"1000","message":"Command completed successfully.","data":{"available":true,"premium":false,"online":true,"landrush":false}} The settings in whois.json { "extensions": ".my,.com.my,.net.my,.org.my,.edu.my,.gov.my", "uri": "https://api.sample.com/query?domainName=", "available": "\"available\":true" } Edited July 6 by Nelson Neoh 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted yesterday at 11:39 AM Share Posted yesterday at 11:39 AM (edited) This works: { "extensions": ".my", "uri": "socket://whois.mynic.my", "available": "is available for registration" } Edited yesterday at 11:42 AM by RadWebHosting extensions 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.