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
Hi, my server expects payloads for actions to be form parameters (application/x-www-form-urlencoded) and not json. Alternatively it will accept an empty payload and the parameters can be passed as query parameters instead. I'm trying to set an empty payload both when calling the custom action, and in the dataForCustomAction method. However ember-custom-actions is turning this empty string payload into an empty object which ends up sending 2 characters '{}' to the server. This is enough for the server to not accept the query parameters i'm passing.
Do you have any work arounds for this to allow me to send a completely empty payload (or alternatively to send form parameters as the payload rather than json)
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, my server expects payloads for actions to be form parameters (application/x-www-form-urlencoded) and not json. Alternatively it will accept an empty payload and the parameters can be passed as query parameters instead. I'm trying to set an empty payload both when calling the custom action, and in the dataForCustomAction method. However ember-custom-actions is turning this empty string payload into an empty object which ends up sending 2 characters '{}' to the server. This is enough for the server to not accept the query parameters i'm passing.
Do you have any work arounds for this to allow me to send a completely empty payload (or alternatively to send form parameters as the payload rather than json)
Thanks!
The text was updated successfully, but these errors were encountered: