HTTP Server

Field Required Type Default Description
type Required String "http"
method Optional String POST "POST" | "GET"
url Required String URL of HTTP upload endpoint
filename Required String Filename for the destination object
user Optional String Basic Auth: username
password Optional String Basic Auth: password
fileid Optional String "file" Identifier for file in multipart/form-data
fields Optional Hashmap {} Optional dictionary of form-fields
headers Optional Hashmap {} Optional dictionary of HTTP headers

Example


curl -X POST
     -H "Content-type: application/json"
     http://render.impossible.io/v2/render/Project-ID -d '
{
    "movie": "Movie Name",
    "params": {
        Movie Parameters
    },
    "upload": {
        "extension": "mp4",
        "destination":  {
            "type": "http",
            "method": "POST" or "GET",
            "filename": "filename",
            "url": "URL of HTTP upload endpoint (POST)",
            "user": "HTTP username",
            "password": "HTTP password",
            "fileid": "Identifier for file in multipart/form-data (default is 'file')",
            "fields": { "optional dictionary of form-fields" },
            "headers": { "optional dictionary of headers" }
        }   
    }
}'

Terms of Use | © 2017, Impossible Software, or its affiliates. All rights reserved.