spacer.png, 0 kB
Personal Blog


My Camera Equipment

« Browser Notes | Main | New Tool, CJ Product Search API- First Look »

Wednesday, August 25, 2021

CJ Product Search API Using GraphQL

Years ago, when I first started developing applications using the Commission Junction (CJ) API, SOAP using WSDL were the technologies in use.

Today, the CJ Product Search API uses GraphQL.

Those familiar with SOAP/WSDL APIs, probably understand the complications involved with using Java Servlet technology to develop applications using the SOAP protocol and WSDL definition language.

This to say, yesterday when it took all day for me to figure out how to request data via a Java Servlet- using the newer CJ Product Search API and GraphQL, I was a little surprised.

As shown in the illustration above (CJ's GraphQL test page), it was not because I was unfamiliar with GraphQL. The Yelp API uses GraphQL, so I had the opportunity to research this technology in 2018.

The problem, I had to figure out how to send the correct data from the servlet to the service, and I could find very little in the way of documentation. Illustrated in the following graphic, some of the tools I use when testing new APIs I want to work with.

Around eight last night, I finally found the answer. Below the response from a successful servlet "GET" request as rendered within the Netbeans IDE output pane.

I plan to provide a demonstration of the CJ Product Search API using GraphQL on one of the QiSoftware Product pages, similar to the Instagram API demonstration.

What will the demonstration of the CJ Product Search API provide? The widget below, illustrates some of the designs of major designers- that will be available when the demonstration application is installed.




Business Directory

spacer.png, 0 kB



Contact | Accessibility | Products | CSS and XHTML
Disclosure Policy
© Copyright 2011-2024 QiSoftware
You may not copy this work.


    Sponsors
    Things I Heart
    Computer Electronics/Home Office
    Items I Have
    Just Want
    Gift Ideas
    Home Furnishings & Kitchen
    Back to School
    Coach

    Shop My Sale






    Community





    MarylandBloggers

    My Instagram Feed

    Calendar

    Archives
    Search
    Categories
    Credits
    Powered by
    Thingamablog 1.5.1

    Owner/Blogger
    Regina Thomas
             Follow

    Subscribe To My Channel


    As an Amazon Associate I earn from qualifying purchases.






spacer.png, 0 kB