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
Copy file name to clipboardExpand all lines: articles/data-factory/connector-rest.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -411,8 +411,8 @@ The following properties are supported in the copy activity **source** section:
411
411
| requestInterval | The time to wait before sending the request for next page. The default value is **00:00:01**| No |
412
412
413
413
>[!NOTE]
414
-
>REST connector ignores any "Accept" header specified in `additionalHeaders`. As REST connector only support response in JSON, it will auto generate a header of `Accept: application/json`. <br>
415
-
>The array of object as the response body is not supported in pagination.
414
+
>The REST connector ignores any "Accept" header specified in `additionalHeaders`. Since it only supports JSON responses, it automatically sets the header to Accept: application/json. <br>
415
+
>Pagination is not supported for REST API responses where the top-level structure is a JSON array.
416
416
417
417
**Example 1: Using the Get method with pagination**
418
418
@@ -985,8 +985,7 @@ The pagination rule syntax is the same as in Example 8 and should be set as belo
985
985
986
986
## Export JSON response as-is
987
987
988
-
You can use this REST connector to export REST API JSON response as-is to various file-based stores. To achieve such schema-agnostic copy, skip the "structure" (also called *schema*) section in dataset and schema mapping in copy activity.
989
-
988
+
You can use the REST connector to export a REST API's JSON response as-is to various file-based storage systems (sinks). To enable this schema-agnostic copy behavior, use default schema mapping (don’t define any mapping in the Copy Activity's Mapping tab.)
990
989
## Schema mapping
991
990
992
991
To copy data from REST endpoint to tabular sink, refer to [schema mapping](copy-activity-schema-and-type-mapping.md#schema-mapping).
0 commit comments