Get attachment content REST API sample curl command

Hi
I want to run Get attachment content REST API by curl command from local cmd prompt or powershell.
I got below error. Can I get sample curl command.
curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed

1 Like

@HninThandarCho you can simply call curl like so:

curl.exe -u {email}:{token} -L -o file.ext https://{your-site}.atlassian.net/rest/api/3/attachment/content/{id}