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: README.md
+22-22
Original file line number
Diff line number
Diff line change
@@ -88,28 +88,6 @@ while (page.hasNextPage()) {
88
88
}
89
89
```
90
90
91
-
## Request Options
92
-
93
-
This client library also supports passing in [`request` options](https://github.com/axios/axios#request-config):
94
-
95
-
```typescript
96
-
client.useRequestOpts({
97
-
baseURL: "http://local.test-server.com",
98
-
});
99
-
```
100
-
101
-
Note that certain request options (such as `json`, and certain `headers` names cannot be overriden).
102
-
103
-
### Setting the API base url
104
-
105
-
If you are using the european instance of intercom and would like to call it directly and not be redirected through our US instance, you can set the `baseUrl` as follows:
106
-
107
-
```typescript
108
-
client.useRequestOpts({
109
-
baseURL: "https://api.eu.intercom.io",
110
-
});
111
-
```
112
-
113
91
## Advanced
114
92
115
93
### Additional Headers
@@ -192,6 +170,28 @@ const client = new IntercomClient({
192
170
});
193
171
```
194
172
173
+
## Request Options
174
+
175
+
This client library also supports passing in [`request` options](https://github.com/axios/axios#request-config):
176
+
177
+
```typescript
178
+
client.useRequestOpts({
179
+
baseURL: "http://local.test-server.com",
180
+
});
181
+
```
182
+
183
+
Note that certain request options (such as `json`, and certain `headers` names cannot be overriden).
184
+
185
+
### Setting the API base url
186
+
187
+
If you are using the european instance of intercom and would like to call it directly and not be redirected through our US instance, you can set the `baseUrl` as follows:
188
+
189
+
```typescript
190
+
client.useRequestOpts({
191
+
baseURL: "https://api.eu.intercom.io",
192
+
});
193
+
```
194
+
195
195
## Contributing
196
196
197
197
While we value open-source contributions to this SDK, this library is generated programmatically.
0 commit comments