Mock RSS endpoint returning HTTP 502
https://demo-rss-502.supercrontab.com/ answers every request with HTTP 502 Bad Gateway and a small RSS body. No signup, CORS enabled, nothing logged. Use it to see how your client, retry logic or cron job behaves on a 502 before it happens in production.
Live demo endpoint
Any method, any path. Returns 502 Bad Gateway with Content-Type: application/rss+xml. OPTIONS returns 204 with CORS headers.
Call it with curl
curl -i https://demo-rss-502.supercrontab.com/
Call it with fetch
const res = await fetch("https://demo-rss-502.supercrontab.com/");
console.log(res.status); // 502
const body = await res.text();What HTTP 502 Bad Gateway means
- When you see it
- A proxy or load balancer got an invalid response from the upstream app, often during a deploy or a crash.
- What a client should do
- Retry with exponential backoff. Deploys usually finish within a minute, so a few retries are enough.
- Retry?
- Yes, with backoff
Sample response body
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Mock feed</title>
<link>https://supercrontab.com/mock/rss</link>
<description>One item, always the same</description>
<item>
<title>Item 42</title>
<link>https://supercrontab.com/mock/rss/200</link>
<guid>42</guid>
</item>
</channel>
</rss>A valid RSS 2.0 feed with one item. Point a feed reader or a cron job at it to test polling.
Questions
Does this endpoint really return HTTP 502 every time?
Yes. Every GET, POST, PUT, PATCH or DELETE to https://demo-rss-502.supercrontab.com/ gets status 502 Bad Gateway with a small RSS body, whatever the path, query or headers. OPTIONS gets 204 with CORS headers so browsers can preflight.
Should my client retry a 502?
Yes, with exponential backoff and a cap on attempts. Retry with exponential backoff. Deploys usually finish within a minute, so a few retries are enough.
Can I get a different format, a delay or a custom body?
The same status is available in JSON, XML, Text, CSV, HTML, YAML, JavaScript. Delays, custom headers, error rates, request logging and your own body need a personal endpoint: sign up and create one at /endpoints in a minute, free.