---
title: Examples
description: Here are some examples of the REST API.
pubDate: 2026-11-05T15:16:13.118Z
meta:
  component:
    title: Couchbase Server
    version: "7.6"
  topic_type: concept
antora:
  editUrl: https://github.com/couchbase/docs-server/edit/release/7.6/modules/n1ql/pages/n1ql-rest-api/examplesrest.adoc
  xref: xref:7.6@server:n1ql:n1ql-rest-api/examplesrest.adoc[]
---

[Consult the llms.txt file for a full list of contents](/llms.txt)
[View original HTML](/server/7.6/n1ql/n1ql-rest-api/examplesrest.html)

# Examples

> [!IMPORTANT]
> Couchbase Server Enterprise Edition 7.6 reaches End of Life on March 31, 2027\. Please upgrade to 8.0.x by following [Upgrade](https://docs.couchbase.com/server/current/install/upgrade.html), or contact [Couchbase Support](https://support.couchbase.com/hc/en-us).

Here are some examples of the REST API.

* [Successful Request](exsuccessful.md)
* [Request with Positional Parameters](expositional.md)
* [Request with Named Parameters](exnamed.md)
* [Request Timeout](extimeout.md)
* [Request Error](exrequesterror.md)
* [Service Error](exserviceerror.md)
* [SQL++ Error](exn1qlerror.md)
* [Unsupported HTTP Method](exunsupportedhttp.md)
* [Request with Authentication — HTTP Header](exauthhttp.md)
* [Request with Authentication — Request Parameter](exauthrequest.md)