If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Visual Basic > HTTP POST Request in VBA

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-09-09, 12:15
scrtchmstj scrtchmstj is offline
Registered User
 
Join Date: Jan 2009
Location: Louisiana, United States
Posts: 138
HTTP POST Request in VBA

Can someone please provide a sample code for submitting a HTTP Post request from VBA. If it would help you understand my need, below is the request I need to submit . I have the Authorization and Body and just would need to know how to POST the request from VBA. I'm trying to learn Visual Basic but it's been slow going. I'd really appreciate it if someone could point me in the right direction. Thanks, Joshua


Code:
POST https://secure.amazon.com/exec/panama/seller-admin/catalog-upload/add-modify-delete
Authorization: <Basic base 64 Encoded String>
Content-Type: text/xml
Cookie: x-main=YvjPkwfntqDKun0QEmVRPcTTZDMe?Tn?; ubid-main=002-8989859-9917520; ubid-tacbus=019-5423258-4241018;x-tacbus=vtm4d53DvX@Sc9LxTnAnxsFL3DorwxJa; ubid-tcmacb=087-8055947-0795529; ubid-ty2kacbus=161-5477122-2773524; session-id=087-178254-5924832; session-id-time=950660664
UploadFor: Marketplace
FileFormat:TabDelimited
enable-expedited-shipping: Y
email: Y

<Body is tab-delimited text file >
Reply With Quote
  #2 (permalink)  
Old 07-09-09, 12:57
Ax238 Ax238 is offline
Registered User
 
Join Date: May 2009
Posts: 257
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On