Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 06 JUN 2008 10:59:54PM Jay Porsher wrote:

Not sure what i am doing wrong, and trying some of the solutions given for others with xml problems does not seem to work.

WhitePages.com has an API that you can use as an HTTP address that will return an XML document as the result which will enable you to look up phone numbers.

Using getwebpage returns a null answer and using the following code

  xml=OleCreateInstance("Microsoft.XMLHTTP")
  x=xml-]Open("GET",url:pay,0)
  x=xml-]Send('')
  retval=xml-]responseBody

which i got from a prior answer returns a string of garbage.

the url is

http://api.whitepages.com/find_person/1.0/

?firstname=THERESA;lastname=PARSONS;zip=10024;api_key=myid

any help would be appreciated

jay


At 08 JUN 2008 05:12AM Bob Carten wrote:

Jay -

Unable to open your link without login but 3 thoughts -

1 - working example is posted here

2 - Does the service want a GET or a POST request? If post, then params are part of the payload, not the URL

3 - I believe you want the ResponseText, not the ResponseBody property.

Hope this helps,

- Bob


At 10 JUN 2008 11:07AM Jay Porsher wrote:

thanks bob - it is the TEXT and not BODY that i want

jay

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/2015a2dbad0e85b68525746100107873.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1