6 Replies Latest reply on Mar 30, 2015 7:11 AM by KolosSchumy

    How do I do external API requests?

    EricKornmeyer

      Title

      How do I do external API requests?

      Post

      I am trying to connect to my ecommerce API to pull in data into filemaker. I really don't know where to start. This is a sample code of one of the things I would need to do. This downloads certain information:

      api_url = "http://YourUrl/net/WebService.aspx?Login=YourEmail@YourDomain.com&EncryptedPassword=YourPassword&//YourUrl/net/WebService.aspx?Login=YourEmail@YourDomain.com&EncryptedPassword=YourPassword&
      API_Name=Generic\\Products&SELECT_Columns=p.ProductCode,p.ProductID,p.ProductName,p.StockStatus";
      
      xml_http = new XMLHTTP();
      xml_http.open("POST", api_url, false, "", "");
      xml_http.send(null);
      api_response = xml_http.responseText;
       
      Can anyone point me in the right direction on how to do this?