URL-encoding your HTML Request
If you use HTML requests to retrieve statistics from the CxEngage REST API, you may need to URL-encode your query string, especially if you include an array of values in the query.
- Incorrect: The following request fails because of the square brackets and the comma.
?user-id=[7d23df20-2461-11e7-9bf4-b883f2d63b7b,7d23df20-2461-11e7-9bf4-b883f2d63b7c] - Correct: The following request is successful, because the square brackets are encoded as %5B and the comma is encoded as %2C.
%5B7d23df20-2461-11e7-9bf4-b883f2d63b7b%2C7d23df20-2461-11e7-9bf4-b883f2d63b7c%5D