7 Replies Latest reply on Jan 5, 2017 10:53 PM by evance

    cURL / GET via Base Elements plugin, large request = insufficient response

    evance

      Hi there,

       

      I am currently trying to access an API and import data into our FileMaker solution. The groundwork has been laid thansk to the Base Elements plugin and Dan Smith's JSON framework but I am hitting a wall here...

       

      Single / small requests are being processed properly, I get the expected response / data back from the API and thus have to assume that the surrounding parameters are OK.

       

      But upon initiating a rather  large request the result is insufficient (not empty though). The whole process is ran via a simple script, I'll outline the steps below.

       

      I have already

       

      - verified that the request is working correctly (via a runscope.com-trial, their free tool hurl.it throws a timeout error though!)

      - tried pausing my script for 60 seconds after making the call (no use)

      - setting a high timelimit for cURL (default is infinite, so not very helpful I guess) and setting "TCP KeepAlive" to true

       

      What can I do to wait for the response to fully go through (even if it takes > 1 minute)?

       

      The script steps outlined:

      Bildschirmfoto 2016-11-18 um 13.54.41.png

       

      Thanks for your input / considerations!