RUBY Example

From CDYNE Wiki
Jump to: navigation, search

CheckPhoneNumber

require 'net/http'
require 'URI'
 
puts URI.methods
 
url=URI.parse('http://ws.cdyne.com/phoneverify/phoneverify.asmx/CheckPhoneNumber?PhoneNumber=17575449510&LicenseKey=f01d89fd-5155-5455-5585-e84ab8de8591')
 
res = Net::HTTP.get_response(url)
 
data = res.body
 
puts data
gets data
Personal tools
Namespaces

Variants
Actions
Navigation
Tools

Trial Key