Skip to content

Remote with type POST does not pass parameters correct #52

@jonnsn

Description

@jonnsn

when using remote.type = POST the params are send as the string "{object:object}".
I can make it work by changing
xhr.send(params);
to
xhr.send(paramsString);
in ajax.js#35
AND setting
headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
As this requires configuration on the "user" side I do not consider this worth a patch, but would like to file the issue anyhow. Will have to investigate this further - or maybe someone else comes up with a better solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions