Can I use Axios directly with Pipedream?

This topic was automatically generated from Slack. You can find the original thread here.

:wave: I鈥檓 very new and just starting to tinker with pd. Is there any way to use axios directly rather than through the @pipedream/platform wrapper? I would like access to the full response object and would like to use axios.create() to create a customized instance.

yes! Make HTTP Requests with Node.js

we honestly just need to update @pipedream/platform axios to allow for the creation of a custom constructor, so that you can do this and get the benefits of the Pipedream package. Raising an issue so we can get that on the board

I added this to our backlog: [FEATURE] `@pipedream/platform` axios should support the ability to create custom `axios` constructor, or pass all standard `axios` options 路 Issue #5497 路 PipedreamHQ/pipedream 路 GitHub

If you鈥檙e interested James, this code is available in our repo, and anyone can submit a PR to improve @pipedream/platform axios: pipedream/platform at master 路 PipedreamHQ/pipedream 路 GitHub