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
So I noticed that hererest-link seems to be automatically assuming the body is json and serializing it as such. It would be nice if that were configurable so that I could instead pass in a multipart/form-data.
I'd be willing to PR it, I think the easiest way would be to just mimic how bodyBuilder is created and have another option called bodySerializer that defaults to JSON.
The text was updated successfully, but these errors were encountered:
ghost
added
the
feature
Feature: new addition or enhancement to existing solutions
label
Mar 27, 2018
paulpdaniels
changed the title
Add option to customer Body serialization
Feature: Add option to customer Body serialization
Mar 27, 2018
ghost
added
the
feature
Feature: new addition or enhancement to existing solutions
label
Mar 27, 2018
So I noticed that here
rest-link
seems to be automatically assuming the body is json and serializing it as such. It would be nice if that were configurable so that I could instead pass in a multipart/form-data.I'd be willing to PR it, I think the easiest way would be to just mimic how
bodyBuilder
is created and have another option calledbodySerializer
that defaults to JSON.The text was updated successfully, but these errors were encountered: