|
Ok, on to UPS.
This is what they require for headers.
From UPS doc:
Header Name
Constraint
Description
transId
Required: Yes
Type: Header
Length: 32
An identifier unique to the request
transactionSrc
Required: Yes
Type: Header
Length: 512
Identifies the clients/source application that is calling
AccessLicenseNumber
Required: Yes
Type: Header
Length: 16
Authorization: Access Key obtained through on-boarding process. Contact your UPS representative for additional information.
Username
Required: Yes
Type: Header
Length: 16
The customers MyUPS username
Password
Required: Yes
Type: Header
Length: 26
The customers MyUPS password
What is the magic decoder values to use?
(Rc = http_xproc(HTTP_POINT_ADDL_HEADER : %paddr(SetHeader));
(Headers = 'Authorization: Basic ' + %Trim(UPSUserName + %Trim(UPSPassword)) + CRLF +
'AccessLicenseNumber: ' + %Trim(APIKey) + CRLF )
vs
http_setAuth( HTTP_AUTH_BASIC
: %Trim(UPSUserName)
: %Trim(UPSPassword));
I have the access key, username and password. I keep trying different combos without success.
Wish I had the time needed to really understand HTTP header. Maybe in the cold, dark winter that is a coming.
Web development is not my thing. Just trying to get access to different services.
Subject to Change Notice:
WalzCraft reserves the right to improve designs, and to change specifications without notice.
Confidentiality Notice:
This message and any attachments may contain confidential and privileged information that is protected by law. The information contained herein is transmitted for the sole use of the intended recipient(s) and should "only" pertain to "WalzCraft" company matters. If you are not the intended recipient or designated agent of the recipient of such information, you are hereby notified that any use, dissemination, copying or retention of this email or the information contained herein is strictly prohibited and may subject you to penalties under federal and/or state law. If you received this email in error, please notify the sender immediately and permanently delete this email. Thank You
WalzCraft PO Box 1748 La Crosse, WI, 54602-1748
www.walzcraft.com<http://www.walzcraft.com> Phone: 1-800-237-1326
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.