Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note this will actually execute if clicked on.  The endpoint will returne immeidiatley with a URL pointing to the eventual location of the resutling output file.  This file will not exist until the Software Servers needed pick up the job and carry out the conversion.  If the result URL is accessed before the job is completed a 404 File Note Found will be returned.  This can be used by an application to poll the DAP until the job is completed.  One should note also that as a distributed service it may never return (e.g. if the needed Software Servers are all killed) thus programs should be smart enough to handle this. Most modern program languages provide means of making HTTP requests, which is what is required to access a REST service.  For example in R there one option is:

http://cran.r-project.org/web/packages/httpRequest/index.html