How to read an attached file content in confluence through rest api

Hi ,

Can you please help me to get the rest api or way to get the a file content in encoding format.

Let say i attached xml file to a page, and i want to rest api to get below file data in given encoded value. Please help to post the rest api url and if it is supports header for encoding welcome to share with us.

Ex: Attached a file to page named abcd.xml. I need rest api path to get the abcd.xml content in ISO-8859-1 or supplied encoding value.