I need to pass through a file from another service, via my application and to the client(because of security reasons). Do anyone have any idea how I can start to create such an endpoint?
Lets say the file is on http://192.168.0.2/file.pdf and I want this to be accessible through my .net core 2 backend via my endpoint http://myfantasticservice.com/file.pdf (a proxy kind of)
Do I need to download the .pdf first and then provide it to the client. I'm thinking the best thing would be to just store it in memory before passing it on.
Happy to hear your ideas :)