Hello, guys, I can’t by any reason make this to work, I found the logs on Insomnia and I realized that are some redirects. Can you help me again to check if this can give any direction to solve this issue?
This is the API docs:
Mailcheap API Docs
This printscreen shows all that is included on the request.
This is the logs on the request I made to the endpoint that gives me a 200 response.
* Preparing request to https://mail.express.dev.br/api/v1/server/logs/postfix
* Current time is 2023-10-29T14:16:26.852Z
* Enable automatic URL encoding
* Using default HTTP version
* Enable timeout of 30000ms
* Enable SSL validation
* Found bundle for host mail.express.dev.br: 0x1e5b8b3af40 [can multiplex]
* Re-using existing connection! (#0) with host mail.express.dev.br
* Connected to mail.express.dev.br (51.83.104.208) port 443 (#0)
* Using Stream ID: 9 (easy handle 0x1e5bca86e10)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET /api/v1/server/logs/postfix HTTP/2
> Host: mail.express.dev.br
> user-agent: insomnia/2023.5.8
> authorization: Basic YWRtaW46MGd5ZWdTS0NTb2Y3S0tBMFRhRmRETVVqTWh4RVBnd2FlR2xjbVBhcw==
> accept: */*
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 308
< server: nginx/1.18.0
< date: Sun, 29 Oct 2023 14:16:17 GMT
< content-type: text/html; charset=utf-8
< content-length: 314
< location: http://mail.express.dev.br/api/v1/server/logs/postfix/
< access-control-allow-origin: *
< access-control-allow-headers: Content-Type, Authorization
< access-control-allow-methods: GET, OPTIONS, HEAD, POST, PUT, PATCH, DELETE
* Ignoring the response-body
* Received 314 B chunk
* Connection #0 to host mail.express.dev.br left intact
* Issue another request to this URL: 'http://mail.express.dev.br/api/v1/server/logs/postfix/'
* Trying 51.83.104.208:80...
* Connected to mail.express.dev.br (51.83.104.208) port 80 (#1)
> GET /api/v1/server/logs/postfix/ HTTP/1.1
> Host: mail.express.dev.br
> User-Agent: insomnia/2023.5.8
> authorization: Basic YWRtaW46MGd5ZWdTS0NTb2Y3S0tBMFRhRmRETVVqTWh4RVBnd2FlR2xjbVBhcw==
> Accept: */*
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.18.0
< Date: Sun, 29 Oct 2023 14:16:18 GMT
< Content-Type: text/html
< Content-Length: 169
< Connection: keep-alive
< Location: https://mail.express.dev.br/api/v1/server/logs/postfix/
* Ignoring the response-body
* Received 169 B chunk
* Connection #1 to host mail.express.dev.br left intact
* Issue another request to this URL: 'https://mail.express.dev.br/api/v1/server/logs/postfix/'
* Found bundle for host mail.express.dev.br: 0x1e5b8b3af40 [can multiplex]
* Re-using existing connection! (#0) with host mail.express.dev.br
* Connected to mail.express.dev.br (51.83.104.208) port 443 (#0)
* Using Stream ID: b (easy handle 0x1e5bca86e10)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET /api/v1/server/logs/postfix/ HTTP/2
> Host: mail.express.dev.br
> user-agent: insomnia/2023.5.8
> authorization: Basic YWRtaW46MGd5ZWdTS0NTb2Y3S0tBMFRhRmRETVVqTWh4RVBnd2FlR2xjbVBhcw==
> accept: */*
* TLSv1.2 (IN), TLS header, Supplemental data (23):
< HTTP/2 200
< server: nginx/1.18.0
< date: Sun, 29 Oct 2023 14:16:18 GMT
< content-type: text/html; charset=utf-8
< content-length: 861020
< vary: Accept-Encoding
< access-control-allow-origin: *
< access-control-allow-headers: Content-Type, Authorization
< access-control-allow-methods: GET, OPTIONS, HEAD, POST, PUT, PATCH, DELETE
* Received 7.8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 4 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 8 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 90 B chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 72 B chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 72 B chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 16 KB chunk
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Received 9 KB chunk
* Connection #0 to host mail.express.dev.br left intact