rabbah edited a comment on issue #5043:
URL: https://github.com/apache/openwhisk/issues/5043#issuecomment-759526173


   ```
   > curl -X POST -H'content-type: application/json' -d '{"name":"sfdsfs4 "}' 
https://apigcp.nimbella.io/api/v1/web/playground/user463062/z
   Hello!
   ```
   vs.
   ```
   > curl -X POST  -d '{"name":"sfdsfs4 "}' 
https://apigcp.nimbella.io/api/v1/web/playground/user463062/z
   {"code":"b8ff36573cb0182382b699c5cf588d6f","error":"Illegal query: Invalid 
input ' ', expected '+', '=', query-char, 'EOI', '&' or pct-encoded (line 1, 
column 17): {\"name\":\"sfdsfs4 \"}\n                ^"}
   ```
   
   The latter uses `Content-Type: application/x-www-form-urlencoded` which is 
effectively a query string. I didn't look up the spec but I suspect you have to 
encode the character if that was your intent.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to