---
title: "Pings endpoint to verify a valid Cosmos REST URL."
method: POST
path: "/server/cosmos/rest"
tags: ["Pings > Cosmos"]
---

# Pings endpoint to verify a valid Cosmos REST URL.

`POST /server/cosmos/rest`

## Request body

- Url
  - `url` string

## Response `200`

OK

- PingSuccess
  - `result` string

## Other responses

- `400` — Error: Invalid URL.
- `408` — Error: Connection timeout.
- `532` — Error: Missing key(s) in request body.

## Changes

> 8 revisions in range; 1 could not be searched.

- **2021-07-09** `7abd9c7d6948` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/simplystaking/apis/panic-api/changes/server/cosmos/rest/post.md)

---

[API](https://skmtc.dev/simplystaking/apis/panic-api.md) · [All operations](https://skmtc.dev/simplystaking/apis/panic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/simplystaking/panic-api/revisions/4400907a393c/schema)
