issue running script on gitbash
I want to remove some node for so many pages.
I executed the below command on cmnd prompt it successfully deleted the node
curl -insecure -u aem-admin :u69naiqt -X DELETE https://author-yps.adobecqms.net/content/products/zh-cn/compressors/products/Air-compressor/oil-free-air-compressors/lf-industrial-piston/jcr:content/root/middle-container/highlighted_download
But when I execute same command using gitbash its throwing 401 unauthorized response
HTTP/1.1 401 Unauthorized Date: Tue, 30 Apr 2024 01:11:11 GMT Server: Apache X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1 X-Content-Type-Options: nosniff Content-Security-Policy: default-src 'self'; script-src https: 'self' 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval' https://cdn.jsdelivr.net/npm/ blob:; style-src 'self' 'unsafe-inline' https:; img-src https: data: blob: 'self'; media-src https: 'self'; object-src 'self'; font-src *.gstatic.com *.googleapis.com data: 'self' https:; frame-ancestors https://*.hubspot.com https://info.atlascopco.us https://info.atlascopcoupdates.com http://*.scene7.com https://atlascopco-preview.adobecqms.net 'self'; frame-src https:; connect-src https: 'self'; worker-src blob:; child-src blob: Referrer-Policy: no-referrer-when-downgrade Feature-Policy: accelerometer 'none'; ambient-light-sensor 'none'; autoplay *; camera 'none'; display-capture 'none'; display-capture 'none'; document-domain 'none'; encrypted-media 'none'; fullscreen *; geolocation *; gyroscope 'none'; layout-animations 'none'; legacy-image-formats 'none'; magnetometer 'none'; midi 'none'; oversized-images 'none'; payment 'none'; picture-in-picture 'none'; speaker *; sync-xhr *; unoptimized-images 'none'; unsized-media *; usb 'none'; vibrate 'none'; vr 'none'; webauthn 'none' WWW-Authenticate: Basic realm="Sling (Development)" Vary: User-Agent Content-Length: 0
Can anyone tell why it was happening. I want remove some node for so many pages