---
title: "Discussion on \"Prompting a File download from a .NET API using Axios\" | Hashnode"
description: "Discussion on \"Prompting a File download from a .NET API using Axios\". I recently needed to produce a small report and serve it as a file download via a .NET API endpoint. The endpoint would be invoked from a React app, using Axios, and trigger the file download in the browser.\nAs the server needed to produce the filena..."
url: "https://hashnode.com/posts/prompting-a-file-download-from-a-net-api-using-axios/63e677cb8d0a05cf796eb4fc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Prompting a File download from a .NET API using Axios](https://andrewells.hashnode.dev/prompting-a-file-download-from-a-net-api-using-axios?utm_source=hashnode&utm_medium=feed)

I recently needed to produce a small report and serve it as a file download via a .NET API endpoint. The endpoint would be invoked from a React app, using Axios, and trigger the file download in the browser. As the server needed to produce the filena...

Feb 10, 2023 · 3 min read · andrewells.hashnode.dev  
Read the article

-   [#axios](https://hashnode.com/tag/axios)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#cors](https://hashnode.com/tag/cors)

## Written by

[Andre Wells](https://hashnode.com/@iamandrewells)

@iamandrewells

  
[View profile](https://hashnode.com/@iamandrewells)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
