I figured it out. The double slashes is a commented out line. The issue was I needed another CRLF at the end of the Headers so the server knew when it was done. @Headers =
//'content-type: application/json' + @Crlf + 'ClientId: ' + %trim(TeId) + @Crlf +
'ClientSecret: ' + %trim(TeSecret) + @CrLf +
'Cache-Control: ' + 'no-cache' + @CrLf +
'Ocp-Apim-Subscription-Key: ' + %Trim(TeSubKey)
+ @CrLf; Thanks, Chris Fitzgerald Sr. Software Developer - Information Technology, Prime Inc. 2740 North Mayfair Avenue Springfield, Missouri 65803-5084 USA Phone: 1-417-521-3295 Fax: 1-417-521-6863 From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx <ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx>
On Behalf Of Udesen, Peder I think you have a syntax error where I marked it. Med venlig hilsen / Kind regards,
Peder Udesen Developer – Business Systems ... Smurfit Kappa Danmark Jens Holms Vej 51, DK-6000 Kolding ... Tel: +45 79 33 77 04
Please follow this
link to find our privacy statement Check out our microsite: www.openthefuture.dk IF YOU PRINT THIS EMAIL, PLEASE RECYCLE IT. PAPER IS RENEWABLE AND RECYCLABLE Fra:
ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx <ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx>
På vegne af Christopher Fitzgerald CAUTION: This email originated from outside of the organization. Do not click links or open attachments
unless you recognize the sender and know the content is safe. We are using the HTTP_URL_GET with a third party, but all we ever get back is the time out error. Here is the code: http_debug(*On:'/eSolutions/getdebug.txt'); http_setccsids(1208:0);
Http_xproc(HTTP_POINT_ADDL_HEADER
: %paddr($Add_Headers));
@rc = Http_url_get(%Trim(@Uri)
: %Trim(@TempFile)
: 15
: Http_UserAgent
: *Omit : 'application/json');
P $Add_Headers B
D PI
D @Headers 32767a varying
D @Crlf c const(x'0d25')
/free
clear @headers;
@Headers = //'content-type: application/json' + @Crlf +
'ClientId: ' + %trim(TeId) + @Crlf +
'ClientSecret: ' + %trim(TeSecret) + @CrLf +
'Cache-Control: ' + 'no-cache' + @CrLf +
'Ocp-Apim-Subscription-Key: ' + %Trim(TeSubKey); The company is say they are not even seeing a request from us. Our side shows that it is going out. Any ideas would be greatly appreciated. Thank you. Thanks, Chris F This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received
this email in error please reply and follow with its deletion. The views expressed in this correspondence may not reflect the views of Prime Inc 2740 N Mayfair Ave Springfield, MO 65803 This email and any files transmitted with it may be confidential and intended solely for the use of the individual or entity to which they
are addressed. If you have received this email in error please notify the sender. |
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi