Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions docs/website/docs/dlt-ecosystem/verified-sources/rest_api/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,36 @@ In the example below we reference the `posts` resource's `id` field in the JSON
}
```

:::tip Escaping curly braces
When your API requires literal curly braces in parameters (e.g., for JSON filters or GraphQL queries), escape them by doubling: `{{` and `}}`.

Example with GraphQL query:
```py
{
"json": {
"query": """
query Artist {{
artist(id: "{resources.artist_list.id}") {{
id
name
}}
}}
"""
}
}
```

Use the same technique for GET request query string parameters:

```py
{
"params": {
"search": "{{'filters': [{{'id': 42}}]}}"
}
}
```

:::

#### Legacy syntax: `resolve` field in parameter configuration

Expand Down
Loading