You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc9f25f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/connecting-data/advanced-api-features/index.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,11 @@ description: Configure advanced API behaviors with custom error definitions, red
5
5
6
6
# Advanced API features
7
7
8
-
Nordcraft provides several advanced API features to give you fine-grained control over your API connections. You can configure the following features using the **Advanced** tab in the API configuration panel.
8
+
Nordcraft provides several advanced API features to give you more control over your API connections. You can configure the following features using the **Advanced** tab in the API configuration panel.
9
9
10
10
## Error definition
11
11
12
-
By default, Nordcraft treats API responses with status codes 400 and above as errors. However, some APIs communicate errors differently, such as [GraphQL APIs](https://graphql.org/learn/serving-over-http#response-format), which return errors in the response body with a 200 (Ok) status code.
12
+
By default, Nordcraft treats API responses with status codes 400 and above as errors. However, some APIs communicate errors differently, such as [GraphQL APIs](https://graphql.org/learn/serving-over-http#response-format), which return errors in the response body with a `200 (Ok)` status code.
13
13
14
14

15
15
@@ -108,7 +108,7 @@ The Nordcraft proxy only processes request and response metadata such as headers
108
108
109
109
## Response parsing
110
110
111
-
By default, Nordcraft automatically determines how to parse API responses based on the `Content-Type` HTTP response header. In some cases, you may need to override this behavior.
111
+
By default, Nordcraft automatically determines how to parse API responses based on the `Content-Type` HTTP response header. In some cases, you may need to override this behavior. This is particularly useful when working with APIs that return incorrect or missing `Content-Type` headers.
112
112
113
113

114
114
@@ -121,13 +121,11 @@ The **Parse as** dropdown allows you to select from several parsing options:
121
121
-**JSON stream**: Parses as a stream of JSON objects (see the [NDJSON](https://github.com/ndjson/ndjson-spec) specification)
122
122
-**Blob**: Handles the response as a blob (read more about blobs on the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/API/Blob))
123
123
124
-
This is particularly useful when working with APIs that return incorrect or missing `Content-Type` headers.
125
-
126
124
## Performance settings
127
125
128
126
### Debounce
129
127
130
-
Debouncing limits how frequently an API can be called, which is useful when API requests are triggered by rapid user actions like typing.
128
+
Debouncing limits how frequently an API can be called, which is useful when API requests are triggered by rapid user actions like typing into a search field.
131
129
132
130

133
131
@@ -147,7 +145,7 @@ Common use cases include:
147
145
148
146
### Timeout
149
147
150
-
The timeout setting allows you to specify a maximum wait time for API responses.
148
+
Using the timeout setting, you can specify a maximum wait time for API responses.
151
149
152
150

0 commit comments