× 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.



Do you know how to use curl or DB2 clob HTTP calls ?

Not an answer but a couple other methods to test.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
----------------------------------------------------------------------

message: 1
date: Thu, 18 Sep 2025 19:36:17 +0000
from: Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
subject: RE: Walmart Marketplace API

So I am still struggling here... I am able to connect to this API and receive an Access Token using Postman. However, I cannot seem to connect successfully from a simple RPG pgm using HTTPAPI (something I use all the time).

I've even compared the HTTP request in Postman to the HTTPAPI debug file. I even compared the Base64 encoded "Authorization" in Notepad++.

Differences:
1. Postman has a "cookie"
2. Headers are in a different order

Any ideas? I'm at a complete loss.

Postman HTTP (successful):
POST /v3/token HTTP/1.1
Host: marketplace.walmartapis.com
WM_SVC.NAME: Walmart Marketplace
Accept: application/json
User-Agent: http-api/1.43
Content-Type: application/x-www-form-urlencoded
Authorization: Basic YTJlZTE.....
Cookie: ak_bmsc=.......p4aGV/sU=~1
Content-Length: 29

grant_type=client_credentials


HTTPAPI (unsuccessful):
POST /v3/token HTTP/1.1
Host: marketplace.walmartapis.com
User-Agent: http-api/1.43
Content-Type: application/x-www-form-urlencoded
Content-Length: 29
Authorization: Basic YTJlZTE...
WM_SVC.NAME: Walmart Marketplace
Accept: application/json

senddoc(): entered
grant_type=client_credentials
recvresp(): entered
SetError() #44: CommTCP_read: Socket has been shut down.
recvresp(): end with err
http_close(): entered


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2025 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.