Post request download file






















I cant just use a GET route because I can't get data sent in with that way, how can I get this file to get sent to the client? You're calling a GET request when you're using window.

This will open the url in a new tab with the URL. I've included some example code below. This includes the index. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Post request that returns a download file Ask Question.

HttpWebRequest class. The following code segment prepares an instance of the System. HttpWebRequest class to download my website logo.

Sometimes, there is a need for the client to supply some information to the web server in order to download a file. Answered by:. Archived Forums. NET Developer. NET applications 0 0. Sign in to vote. User posted I am programming an app in ASP. Thank you! Tuesday, April 7, PM. Do you have any suggestion? And, of course, you can find the entire implementation for this on GitHub. Well, as easy as vertically centering content in divs!

Flexbox is cheating! Liked this post?



0コメント

  • 1000 / 1000