-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Transport Override for PDF use case #98
Conversation
Update CHANGELOG.md for all releases.
Thanks, @haislip for the contribution. This PR will go in our next release. |
Any idea when this will be published over npm? Seems like you merged it but i think it's not published yet. |
The |
@sdegutis : Just curious what is the transport that you passed to the Would it be similar to :
|
Yep |
I get a server error. wondering if the
|
@sdegutis : I did not pass the
This returns a binary BLOB for the pdf response. Thanks for your help. I am good here 👍 |
* Update CHANGELOG.md Update CHANGELOG.md for all releases. * Adding Transport Override for PDF use case (#98) * Update CHANGELOG.md (#95) Update CHANGELOG.md for all releases. * adding transport * updating package name and version * updating to use npm username in package * fixing behavior and version * removing package.json changes Co-authored-by: abisalehalliprasan <38014312+abisalehalliprasan@users.noreply.github.com> * Test PDF transport changes sdk release 3.0.3 * Release candidate 4.0.0 * Release 4.0.0 README update Co-authored-by: Greg Haislip <54045190+haislip@users.noreply.github.com> Co-authored-by: abisalehalliprasan <abisalehalliprasan@intuitdepc017d.corp.intuit.net>
#97
In order to save the PDF generated from the APIs properly, the transport passed into the popsicle API needs to be one of type "buffer" instead of "text" (which is the default). This changes keeps the default of using "text", but allows the calling function to pass in the override.