---
title: "Testing REST endpoints in the browser with the Sandbox API console — Daras Help Center"
description: "Select a method and endpoint path with your API key in the Sandbox console on developers.daras.com.tr to run requests and copy them in cURL and other languages."
canonical_url: "https://daras.com.tr/en/help-center/developer/test-rest-endpoints-sandbox-console"
locale: en
meta:
  "og:description": "Select a method and endpoint path with your API key in the Sandbox console on developers.daras.com.tr to run requests and copy them in cURL and other languages."
  "og:title": "Testing REST endpoints in the browser with the Sandbox API console — Daras Help Center"
---

# **Testing REST endpoints in the browser with the Sandbox API console**

The Sandbox page is a console that lets you test REST endpoints from your browser before writing code; requests are sent directly to the Daras API URL using the API key you enter.

### Steps

1. Open `developers.daras.com.tr/sandbox` ("Sandbox" in the menu) on the developer portal.
2. There is no preset list of endpoints: choose the method (GET, POST, PATCH, DELETE) from the selector to the left of the path field and type the endpoint path next to it (default `/catalog/products`). The full target URL appears next to the "Gönder" (Send) button.
3. The "Test anahtarı üret" (Generate test key) link at the top of the page opens the Ayarlar → Erişim anahtarları (API) (Settings → Access keys (API)) page in the dashboard. Paste the generated key into the "API anahtarı" (API key) field; the console sends it in the `Authorization: Bearer` header.
4. In the "Header" tab you can view the headers to be sent, and in the "Query" tab you can view the query parameters added to the path (for example, `?limit=20`); for POST and PATCH requests, edit the JSON body in the "Body" tab.
5. Click "Gönder" to run the request; the status code, response time (ms), and response body appear in the "Yanıt" (Response) section.
6. To use the same request in your code, select the TS, PY, PHP, Go, or cURL tab in the snippet below and click the "kopyala" (copy) button.

### Tips

- Requests go to the live API: write requests made with a live ( `sk_live_`) key modify your store's real data. For testing, use a test ( `sk_test_`) key from a store in test mode.
- If a request fails with a network error, the error message appears in the response area; check your key and path.
- The cards at the bottom of the page show the per-key rate limit per minute and the number of webhook topics.

## **More guides in this category**

[**Monitoring webhook delivery logs and sending test notifications**](https://daras.com.tr/en/help-center/developer/monitor-and-test-webhook-deliveries) [**Creating API keys and setting scopes for programmatic access**](https://daras.com.tr/en/help-center/developer/create-api-keys-and-scopes) [**Developing, validating, and publishing themes with Daras CLI**](https://daras.com.tr/en/help-center/developer/theme-development-publishing-daras-cli)

**Didn't find the answer?**Open a request from the Daras support screen in your store panel.

[**Open a support request**](https://app.daras.com.tr/support/daras)

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
