You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
Calling Rx.DOM.ajax() with content type set to application/x-www-form-urlencoded and a body such as { name1: "value1&", name2: "value2" } sends the HTTP data as: name1=value1&&name2=value2. This is because the RxJs Ajax code does not URL encode values when converting a object body content to string payload.
The text was updated successfully, but these errors were encountered:
@muj-begdid you found a way to fix this?
Instead of passing an object to the body property, I just passed a string using a deparam module, like qs or query-string
Calling
Rx.DOM.ajax()
with content type set toapplication/x-www-form-urlencoded
and a body such as{ name1: "value1&", name2: "value2" }
sends the HTTP data as:name1=value1&&name2=value2
. This is because the RxJs Ajax code does not URL encode values when converting a object body content to string payload.The text was updated successfully, but these errors were encountered: