Skip to main content

HTTP Server: JSON response

Respond to a call made from a web endpoint with a JSON as response.

Input​

JSONrequired
JSON Payload you want to return.
Responderrequired

From which endpoint you want to respond with the given json.

Response​

Body contains the json

Download using Curl:
curl https://api.zparse.io/workflow/e/f/xxx/yyy \
-H 'Authorization: {ACCESS_KEY}' \
-H 'X-ZPARSE-IO-ATTR: {CUSTOM_ATTR}' \
-H 'X-ZPARSE-IO-AUTH: {CUSTOM_AUTH}' \
-XPOST -F "file=@/path/to/your/file.ext"

> {"hello": "world"}