Details
-
Task
-
Resolution: Unresolved
-
Minor
-
6.5.0
-
None
-
1
Description
Build: 6.5.1-6299
If we pass form param as JS string (Eg. "email: a@b.c") , it will not work as it is treated as a single string. To pass it as named parameter, it must be sent as a JS object.
Works:
var request = {
|
path : 'form1', |
encoding: "FORM", |
body: {"email": "joe.blogs@gmail.com"}, |
};
|
Won't work:
var request = {
|
path : 'form1', |
encoding: "FORM", |
body: "email=joe.blogs@gmail.com", |
};
|
Need to make it clearer in spec doc how to use name=value urlencoded POST parameters and plain string POST.