Instantly Host JSON API Mock from Cursor Glass for Instant Prototype Sharing
The fastest way to deploy JSON API Mock generated by Cursor Glass. Perfect for instant prototype sharing. No login required, zero-friction, and live in seconds on drpr.host.
How to host your JSON API Mock from Cursor Glass in seconds
- Step 1: Generate your JSON API Mock using Cursor Glass. Once the output is produced, ensure you save the raw JSON content to a local file, for example, `api-mock.json`.
- Step 2: Open your terminal or command prompt. Navigate to the directory where you saved your `api-mock.json` file.
- Step 3: Use `curl` to upload your JSON file to drpr.host. The command will provide a direct, shareable URL upon successful upload.
- Step 4: Share the generated drpr.site URL. This link provides immediate access to your Cursor Glass JSON API Mock, ready for consumption by front-end applications or for review by your team.
Quick start
curl -X POST -F "file=@api-mock.json" https://drpr.host/api/v1/upload
Expected JSON response:
{
"url": "https://youruniquehash.drpr.site/api-mock.json",
"status": "success",
"expires": "2024-07-28T10:00:00Z"
}
Alternatively, using the drpr CLI:
drpr upload api-mock.json
Common questions
- Do I need an account to host my Cursor Glass JSON API Mock?
- No, drpr.host is designed for zero-friction. You can upload and host your JSON API Mocks without needing to create an account or log in, making "Instant Prototype Sharing" truly instant.
- How long will my Cursor Glass JSON API Mock be hosted on drpr.host?
- Files uploaded via the free tier are hosted for 15 days. For permanent hosting of your critical Cursor Glass mocks, consider upgrading to a paid drpr.host account.
- Is there a file size limit for JSON API Mocks uploaded for free?
- Yes, the free tier supports files up to 5 MB in size. This limit is typically sufficient for most JSON API Mocks generated by Cursor Glass for prototyping purposes.
- Can I share my Cursor Glass JSON mock securely with specific teams?
- While drpr.host provides publicly accessible URLs for quick sharing, for more controlled access and features like password protection or custom domains, you would need to utilize a paid drpr.host account.
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