× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jerry,

It looks like you copy/pasted from a table or something and the formatting was lost in your e-mail, making it very difficult to read.   I THINK you're saying you need headers like this?

transId: some-32-char-string
transactionSrc: some-512-char-string
AccessLicenseNumber: some-16-char-string
Username: some-16-char-string
Password: some-26-char-string

Is that correct?   I don't understand the code you provided where you are doing something with the Authorization header and some complex expression that I didn't understand. Or http_setAuth.  Is that related, or a separate point?  Can you explain what you want/need to know about the Authorization header?   It seems bizarre to me that they would want both their own custom headers and also the standard one to do the exact same thing.

You also mention web development.  Can you explain how web development relates to this?

I'm a bit lost.

-SK


On 9/25/2020 11:54 AM, (WalzCraft) Jerry Forss wrote:
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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.