Instantly Host JSON API Mock from Cursor Glass for Social Media Preview

The fastest way to deploy JSON API Mock generated by Cursor Glass. Perfect for social media preview. No login required, zero-friction, and live in seconds on drpr.host.

When you're leveraging Cursor Glass to rapidly prototype and generate JSON API Mocks, the next critical step is often to share that output for immediate review or integration testing. Manually copying raw JSON into chat, pasting into a gist, or emailing it results in a cumbersome, unformatted experience that lacks the visual impact needed for a professional social media preview. This friction interrupts your workflow, delays feedback, and fails to present your API mock effectively on platforms like X (Twitter), LinkedIn, or even internal communication tools.

Drpr.host eliminates this pipeline friction entirely. Instead of wrestling with temporary servers or convoluted deployment scripts, you can take the JSON API Mock generated by Cursor Glass and instantly publish it to a live, shareable URL. This direct link provides a clean, web-accessible endpoint for your mock, ensuring that when shared on social media, it renders with proper Open Graph data, creating an appealing, interactive preview. Your Cursor Glass output goes from local file to live preview in seconds, without any login required.

How to host your JSON API Mock from Cursor Glass in seconds

  1. Step 1: Generate your JSON API Mock using Cursor Glass. Once your mock is ready, copy the complete JSON output to your clipboard or save it directly to a local file, such as `api-mock.json`.
  2. Step 2: Open your terminal or command prompt. Navigate to the directory where you saved your `api-mock.json` file, if applicable, or prepare to paste the content.
  3. Step 3: Upload your JSON API Mock to drpr.host using a simple `curl` command or the drpr CLI. This sends your file directly to our hosting service without any intermediate steps.
  4. Step 4: Receive an instant, publicly accessible `drpr.site` URL in the response. This URL is your live endpoint for the JSON API Mock you just uploaded.
  5. Step 5: Share this unique `drpr.site` URL on social media, in team chats, or directly with stakeholders. It will instantly render a rich preview, making your Cursor Glass output visible and interactive.

Quick start

# Upload your Cursor Glass JSON API Mock
curl -X POST -F "file=@api-mock.json" https://drpr.host/api/v1/upload

# Example JSON response:
{
  "url": "https://drpr.site/e3f4g5h6i7j8k9l0m1n2/api-mock.json",
  "delete_token": "aBcDeF123G45hI67jK89L0"
}

# Alternatively, using the drpr CLI:
drpr upload api-mock.json

Common questions

Can I really host a Cursor Glass JSON API Mock without creating an account?
Yes, drpr.host is designed for zero-friction. You can upload your JSON API Mocks directly via `curl` or our CLI to get an instant, publicly accessible URL without any registration or login required.
How long will my Cursor Glass JSON API Mock be live on drpr.host for social media previews?
Free tier uploads are hosted for 15 days, which is ideal for temporary previews and quick sharing. For long-term project visibility and permanent hosting, paid accounts offer persistent URLs.
Are there any file size limitations for hosting JSON API Mocks from Cursor Glass?
Yes, the free tier supports individual files up to 5 MB in size. This limit is more than sufficient for the vast majority of JSON API Mocks generated by Cursor Glass, ensuring rapid uploads and previews.
What makes drpr.host ideal for Cursor Glass outputs compared to other hosting options?
Drpr.host specifically provides instant, public URLs with optimal caching for fast social media previews, without requiring server setup, git commits, or complex deployment steps. It's a direct, no-overhead link from your local Cursor Glass output to a live web preview.

Deploy your Cursor Glass JSON API Mock now

Sign in with Google and gatedpage auto-creates yourcompany.gated.page — private to your @company.com team.

Get started with Google