I'm trying to get the data from a file that is currently saved in my Xano database by making an API request. First, I make a query of the database with the files, next I get the file's url. I use the file's url in the API request using the GET method and settings the content-type's charset as 'windows-1252' since the file from the database is windows-1252 encoded. The issue I'm facing is that even though I've set up the charset as windows-1252, it still forces the charset as UTF-8, removing all the special characters from my file's content. Have you guys encountered this? If yes, could you please share how you fixed it? Suggestions are highly appreciated as well.
Note: I have used Axios in making this API request as well and gave me the same results.
I need help with making an API request in Xano
5 replies