Thanks for the reply.
I have tried with -v. getting below response (400 bad request)
curl -v
http://localhost:8090/JSON/core/action/accessUrl/?zapapiformat=JSON&formMethod=GET&url=https://xx-xx.test.com/covers/&followRedirects=$ * Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8090 (#0)
> GET /JSON/core/action/accessUrl/?zapapiformat=JSON HTTP/1.1
> Host: localhost:8090
> User-Agent: curl/7.53.0
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Pragma: no-cache
< Cache-Control: no-cache
< Content-Security-Policy: default-src 'none'; script-src 'self'; connect-src 'self'; child-src 'self'; img-src 'self' data:; font-src 'self' data:; style-src 'self'
< Referrer-Policy: no-referrer
< Access-Control-Allow-Methods: GET,POST,OPTIONS
< Access-Control-Allow-Headers: ZAP-Header
< X-Frame-Options: DENY
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-Clacks-Overhead: GNU Terry Pratchett
< Content-Length: 58
< Content-Type: application/json; charset=UTF-8
<
{ [58 bytes data]
100 58 100 58 0 0 264 0 --:--:-- --:--:-- --:--:-- 264{"code":"missing_parameter","message":"Missing Parameter"}
* Connection #0 to host localhost left intact
Please help.