Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there any way to get the attached file data in required encoding format.

Hi ,

Is there any way to get the attached xml file content as client required encoding format?

Ex:  attached cdcatalog.xml  in page/space.

Using Javascript AP.request we are calling download/attachments/ API, where i have to send encoding value given by users, based on this i would like to get the xml file data in given encoding format from this mentioned API.

Currently always the response header content-type value is "text/html;charset=UTF-8" from confluence server. Is there any way to get response content-type as "application/xml;charset=(ISO-8859-1/Big5/UTF-32) in user given encoded value.

1 answer

0 votes

Hi there, @bobswiftapps-automation,

Thank you for bringing this up to us. I'm really not sure about that, but I would recommend raising the same question with one of our Developer Resources as those might be the experts on this topic you are looking for.

If you do find out, please follow-up here as well, in case anyone else has the same question.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

What's New in Confluence Cloud – July 2020 Edition

Here’s another edition of “What’s New” this month in Confluence Cloud. Quickly (and more easily) adjust permission settings We know that sometimes the layers of space permissions and page restric...

18,601 views 22 80
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you