Hmm, try this with your correct USERID and tell me what happens ... maybe
it does not like the ? and & being encoded ... I tried it and got an auth
error.
values QSYS2.HTTP_GET('
http://production.shippingapis.com/ShippingAPI.dll'
concat '?API=Verify&' concat
url_encode(
     'XML=' concat
     '<AddressValidateRequest USERID="xxxxxxxxx">' concat
         '<Revision>1</Revision>' concat
         '<Address ID="0">' concat
             '<Address1/>' concat
             '<Address2>8 Wildwood Drive</Address2>' concat
             '<City/>' concat
             '<State>CT</State>' concat
             '<Zip5>06371</Zip5>' concat
             '</Zip4>' concat
         '</Address>' concat
     '</AddressValidateRequest>'),
     '{
         "header":"Content-Type,text/xml",
         "header":"Accept,*",
         "header":"Content type,charset=UTF-8"
      }'
)
;
On Mon, Jan 3, 2022 at 9:51 AM Sam_L <lennon_s_j@xxxxxxxxxxx> wrote:
I am experimenting with QSYS2.HTTP_GET and the USPS APIs
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.