How to get attachment using oauth

Hi,

I am unable to download attachments using oauth content url is attached.
URL: https://{domain_name}.atlassian.net/secure/attachment/10002/file_name.gif
if there is any way to download attachments using oauth so please let me know.

Note: I can download the attachment using basic authentication but in my case i have to download the attachment using oauth.

if there is any way to download the attachment using oauth so please let me know.
thanks.

@farix71did you ever figure his out?