question

BrianGarr-2132 avatar image
0 Votes"
BrianGarr-2132 asked MayankBargali-MSFT commented

Upload text file into body of API in Azure API Management

So I am building an Azure front end for our TTS+ on API Management, and I need to allow the API user to pass a text file and then turn the text into the body field of teh API call. I know if I denote the body as Binary that the system will ask me to upload a file, but in this case, I not only need to upload the file, but turn the body of the file into the body of the call to the webservice.

azure-api-management
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@BrianGarr-2132 Thanks for reaching out. The query is more towards developing your web application rather than APIM. I am not sure in which language you are building your application. But in case you are using
ASP .NET Core then you can refer to this document. Once you have the stream in your application you can now call the APIM endpoint over REST call and pass the stream.

0 Votes 0 ·

0 Answers