How to generate the proper RestTemplate usage from curl?

I have a working curl command that is below: curl -v -H “Content-Type:application/octet-stream” \ -H “x-amz-server-side-encryption:aws:kms” \ -H “x-amz-server-side-encryption-aws-kms-key-id:abcdef81-abcd-4c85-b1d8-ee540d0a5f5d” \ –upload-file /Users/fd/Downloads/video.mp4 \ ‘https://video-uploads-prod.s3-accelerate.amazonaws.com/ABCDEAQGZHEhM55fvvA/ads-aws_userUploadedVideo?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200106T165718Z&X-Amz-SignedHeaders=content-type%3Bhost%3Bx-amz-server-side-encryption%3Bx-amz-server-side-encryption-aws-kms-key-id&X-Amz-Expires=86400&X-Amz-Credential=ABCDEFHLWTCWZ2MUPPBQ%2F20200106%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=037949abcd1234b063c75d3d505dd9120dd3fa9250c1ababa152e91fee123ca0′ The curl is working properly: * We are completely uploaded and fine < HTTP/1.1 200 OK However, when I try to use RestTemplate (i’m using spring boot 1.5.6) I’m not able…

Details

installing specific apt package

im using ubuntu 16 and need mysql-server lower then 5.7.28 i try this steps: [email protected]:~# apt-cache policy mysql-server-5.7 mysql-server-5.7: Installed: (none) Candidate: 5.7.28-0ubuntu0.16.04.2 Version table: 5.7.28-0ubuntu0.16.04.2 500 500 http://il.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 5.7.11-0ubuntu6 500 500 http://il.archive.ubuntu.com/ubuntu xenial/main amd64 Packages so i want to install the 5.7.11-0ubuntu6 package [email protected]:~# apt install…

Details