We should update the scrollery-cgi.pl and all axios requests to conform to 1 of the following request/response formats (type 3 is the preferred format):
{REQUEST_WITH_CREDENTIALS}
This returns an object {RESPONSE}
{{CREDENTIALS}, “requests”: [ {REQUEST_1}, {REQUEST_2}, … ]}
This returns an array of objects [{RESPONSE_1},{RESPONSE_2},…] (bare JSON array)
{{CREDENTIALS}, “requests”: {REQUEST_1: {REQUEST_1}, REQUEST_2: {REQUEST_2}, … }}}
This returns an object {REQUEST_1: {RESPONSE_1}, REQUEST_2: {RESPONSE_2}, … }
We should update the scrollery-cgi.pl and all axios requests to conform to 1 of the following request/response formats (type 3 is the preferred format):
{REQUEST_WITH_CREDENTIALS} This returns an object {RESPONSE}
{{CREDENTIALS}, “requests”: [ {REQUEST_1}, {REQUEST_2}, … ]} This returns an array of objects [{RESPONSE_1},{RESPONSE_2},…] (bare JSON array)
{{CREDENTIALS}, “requests”: {REQUEST_1: {REQUEST_1}, REQUEST_2: {REQUEST_2}, … }}} This returns an object {REQUEST_1: {RESPONSE_1}, REQUEST_2: {RESPONSE_2}, … }