Task Request application json - cytoscape/cytoscape-web GitHub Wiki

Submission using Content-Type: application/json. This mode can be used if no files need to be submitted with request.

Method POST
Path /
Request Header Content-Type: application/json
Return Code Success: 202 (Accepted)
Error: 400 (Bad Request) or 500 (Internal Server Error)

Request Body:

{
  "parameters": { 
                  "<Parameter display Name>": "value1", 
                  "param2": "value2" // Additional parameters
                }, 
  "data": "cx2" // Data object constructed according to the selectedData attribute
}

NOTE: For flag only parameters such as checkBox just set value of parameter to empty string ""

Example:

  "parameters" : { "Configuration Model": "RBER", }
⚠️ **GitHub.com Fallback** ⚠️