Product/components used and version/fix level:
API Gateway
Detailed explanation of the problem:
The API-GW doesn’t accept square brackets in the data of the request.
Error messages / full error message screenshot / log file:
The following curl request fails:
curl -X POST ‘http://apigw-host:5555/httptest/updatedata’ --header “Content-Type: application/json” --header “User-Agent: localAgent” --header “X-Forwarded-For: 192.168.2.20” -d ‘[{“param1”:“value1”},{“param1”:“value2”}]’
The error from the Gateway is:
{“Exception”:"API Gateway encountered an error. Error Message: Native service provider error. Code : 400. … }
If I remove the square brackets, the request goes through.
Question related to a free trial, or to a production (customer) instance?
Yes, I downloaded the 10.15 free trial docker image for our evaluation.