Skip to main content
Published: October 28 2009, 9:18:00 AMUpdated: November 28 2020, 8:00:36 PM

Making POST request for Shopping API via Flex

Summary

   The ShoppingPostCall application is implemented with Adobe's Flex program language. This sample application illustrates how to send Shopping API POST request via Flex.

   Double click the image to see the project live demo.

Image

 


 Detailed Description

 SOFTWARE REQUIREMENTS

CREATE FLEX MXML PROJECT

  •  Start Flex Builder New > Flex Project
  •  Select: New > Flex Project, select Basic in New Flex Project popup window, click Next , name the project “ShoppingPostCall ” and make sure “Use default location” is checked.
  •  Click Next button, select the Libraries tab, and click Add SWC. Browser to the corelib.swc file which was including in the bin directory of the corelib zip file. Click the Finish button.

USE THE SAMPLE

    ----  run the sample project

  •  download the ShoppingPostCall.swc file
  •  save the file in your local file system as : ${FLEX_DIR}/ShoppingPostCall.swc
  •  navigate to the directory and double click the ShoppingPostCall.swc file 

  ---   use the sample code

  • download the ShoppingPostCall.mxml, UrlLoaderListener.as
  • open ShoppingPostCall.mxml and replace the APPID  variable with your AppplicationID

How well did this answer your question?
Answers others found helpful