Skip to Content
0
Former Member
Feb 27, 2008 at 10:48 AM

How to make a Plain HTTP-Request

68 Views

Hi folks,

is it posible to post somthing like this with cl_http_client.

POST /hapld/tos/kdwhapltos HTTP/1.1 
Host: www.pld-certify.ups.com
Content-type: multipart/mixed; boundary=BOUNDARY
Content-length: 1038

--BOUNDARY
Content-type: application/x-www-form-urlencoded
Content-length: 140

AppVersion=1.0&AcceptUPSLicenseAgreement=Yes&ResponseType=application/x-ups-pld&VersionNumber=V4R1&UserId=xxx&Password=xxx

--BOUNDARY
Content-type: application/x-ups-binary
Content-length: 719

020082 2.0 2002101700000000000010500 000000001*AA0A1754 US 1234567002000001*BA1z1234560100002352 00001+0000000000000010 +0000000000000000LBS01PRE10 …

--BOUNDARY—

Regards,

Max