I am completely lost here regarding this.
I have a custom API where the endpoint is /api
and my client NodeJS script calls towards this endpoint with some form data.
Let's say my client sends a POST with the parameters download_file
and file_id
,
how would the web server respond with the file data?
I'm sure someone has solved this before but I can't find any information about this.