IMAGE_BASE64=$(base64 image.png | tr -d '\n') curl -X POST http://localhost:3000/api/pengaduan/upload-base64 \ -H "Content-Type: application/json" \ -d "{\"file\": \"$IMAGE_BASE64\"}"