Currently client.action is sending the payload using the data parameter which sends it in a key=value&key_2=value_2 format causing CKAN to return an error:
"Bad request - JSON Error: Error decoding JSON data. Error: <BadRequest '400: Bad Request'> JSON data extracted from the request: {}"
Currently
client.action
is sending the payload using thedata
parameter which sends it in akey=value&key_2=value_2
format causing CKAN to return an error:Fix: Use
json
parameter instead.