-
-
Notifications
You must be signed in to change notification settings - Fork 746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Multipart form-data with Refit #930
Comments
I had just one file to send but I sent it this way: [Multipart] |
Hi |
Help the baby. The baby's crying |
send files as byte array or base64 string |
|
you have a second option to wait when refit devs add this feature. They didn't it for a 2 years FYI)) |
Mm-hmm. Ooooooo the baby is already crying |
While multipart works, sending |
I'm also struggling with this under OrchardCMS/OrchardCore#16430. I couldn't find a way to send a request with Refit to the below API endpoint: [HttpPost]
[Route("setup")]
public async Task<ActionResult> Setup(SetupApiViewModel model, IFormFile recipe = null) |
Hi,
I have a dotnet core web api endpoint that takes a strongly typed object as argument
Endpoint signature:
I call this method via HTTPIE on shell as
I want to write this endpoint in Refit interface in another app that will send files to this endpoint along with other form data.
I'm not sure how this can be be written in Refit. Any help would be appreciated!
Thanks!
The text was updated successfully, but these errors were encountered: