Using Files with Web Services

Uploading files into App. Server

To upload the data you will need to make a POST http request to the Application Server endpoint.
To make a http request you will the following:

  • The Application Server Database URL which you can find from the Server Configurator or the Application Server Deployment Page. This example uses in place of the actual URL.
  • The valid cridentials.

The response contains a stream id which can be used to reference the uploaded file in other requests to the Application Server.

Use uploaded files in Server Side Script

For example there is JS Web Service (defined by Administrator in Administration/Stored Files/Services):

To consume the uploaded file in such service, the service should be called with the stream id in arguments as following:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.