---
title: "POST /mixedcontent"
method: POST
path: "/mixedcontent"
tags: ["mixedcontent"]
---

# POST /mixedcontent

`POST /mixedcontent`

Check if a site is up or down

## Request body

- MixedContentDto
  - `url` string, required — Target URL
  - `followRedirect` boolean — Whether to follow redirects when checking site status
  - `proxyCountry` string — Proxy country code to route the request

## Response `200`

Site status retrieved successfully

- MixedContentResponseDto
  - `timestamp` number, required — Timestamp of the request in milliseconds
  - `apiStatus` 'success' | 'failure', required — API status message
  - `apiCode` number, required — API status code
  - `message` string, required — Indicates whether mixed content found or not. It can either be "Mixed content(s) found." or "No mixed content found."
  - `meta` MixedContentMetaDto, required
    - `url` string, required — The tested URL
    - `proxyCountry` string — Country used for proxy
    - `followRedirect` boolean — Indicates if redirects should be followed
    - `redirectedURL` string — Final URL after redirection (if any)
    - `test` TestMetaDto, required
      - `id` string, required — Unique test identifier
  - `data` union, required — Contains either an array of all resources (when no mixed content) or an object with insecure/secure arrays (when mixed content found)
    - string[] — Simple array of all resources when no mixed content found
    - MixedContentDataDto — unresolved $ref

## Other responses

- `400` — Bad request (invalid parameters)
- `500` — Internal server error

---

[API](https://skmtc.net/geekflare/apis/geekflare-api.md) · [All operations](https://skmtc.net/geekflare/apis/geekflare-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geekflare/geekflare-api/revisions/936993afc936/schema)
