jsonRequest

Syntax

app.jsonRequest(jsonUrl, jsonRequest);

Parameters

jsonUrl string

The path to the Studio or Enterprise server URL which can receive and respond to requests done in JSON object string format.

jsonRequest string

The request to post to the above URL in JSON object string format.

Return value string

A string containing the complete and total server response.

Description

The jsonRequest() method posts a JSON object string as a request to a Studio or Enterprise Server URL in order to receive a response in JSON object string format.

Examples

QueryObjects, DeleteObject, GetPublicationDate

jsonRequestSamples.zip

Supported versions

Adobe Version Supported
CC 2019
2020
2021
2022