Is it possible to send JSON to an endpoint which expects a file using Nodejs? This Auth0 endpoint expects a file containing JSON:
https://auth0.com/docs/api/management/v2#!/Jobs/post_users_imports
But really I don't want to have to save a file as I'll be making this call quite often. Ideally I'd like to be able to construct the JSON programmatically and then hit this endpoint with that JSON rather than a file - but still have the endpoint see that content as a file.
Is this possible?