I tried using below curl command:
curl -X POST "http://ip:port/dcm4chee-arc/aets/RPACS/rs/studies/1.3.12.2.1107.5.1.4.76024.30000022102604252883100000028" -H "Authorization:Bearer $TOKEN" -H "Content-Type: application/dicom" --data-binary "PathTo/1.2.276.0.67.5.207653496944.20230708173249913.6.dcm"
But failed. Is there any mistake in the curl command. Please help