API
Uploading files using Node.js as an API Gateway to an external API using Svelte/Sapper
Following the documentation of API Platform, we start with an API that accepts the multipart/form-data format. We use Sapper (Node.js+Express) as an API gateway. First, we need to send a local file from Svelte to the Sapper server. Sapper then receives the file and calls external API. Sending the file Read more…