Canvas handles array parameters differently depending on whether you use GET or POST. If it's GET, it requires the array variable name to be postfixed with square brackets i.e. []. However, for POST, it would not accept square brackets for variables in the body of the POST. This PR fixes that issues by removing the square brackets for POST requests only. Additionally, we were sending GET request parameters in the body. We have now changed it to instead send it in the URL, like a regular GET request.
Canvas handles array parameters differently depending on whether you use GET or POST. If it's GET, it requires the array variable name to be postfixed with square brackets i.e. []. However, for POST, it would not accept square brackets for variables in the body of the POST. This PR fixes that issues by removing the square brackets for POST requests only. Additionally, we were sending GET request parameters in the body. We have now changed it to instead send it in the URL, like a regular GET request.
Fixes #591