May-02-2019, 05:57 AM
Hi,
My api currently has an output of [1, "Apple"], [2, "Banana"], [3, "Orange"] and I've been told it should be a key value pair. My Return code is
Thanks in advance
Todd
My api currently has an output of [1, "Apple"], [2, "Banana"], [3, "Orange"] and I've been told it should be a key value pair. My Return code is
return { 'statusCode': 200, 'headers': {'Content-Type': 'application/json'}, "body": json.dumps(rows) }What do I need to do to fix this?
Thanks in advance
Todd