Skip to content

Commit 67985d2

Browse files
author
Niall Brennan
committed
Remove basic auth
1 parent ee5ba2e commit 67985d2

File tree

1 file changed

+8
-8
lines changed
  • src/connections/sources/catalog/libraries/server/http-api

1 file changed

+8
-8
lines changed

src/connections/sources/catalog/libraries/server/http-api/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ POST https://api.segment.io/v1/identify
100100
"ip": "24.5.68.47"
101101
},
102102
"timestamp": "2012-12-02T00:30:08.276Z",
103-
"writeKey": "123xyz"
103+
"writeKey": "YOUR_WRITE_KEY"
104104
}
105105
```
106106
This call is identifying the user by their unique User ID (the one you know them by in your database) and labeling them with `email`, `name`, and `industry` traits.
@@ -141,7 +141,7 @@ POST https://api.segment.io/v1/track
141141
"ip": "24.5.68.47"
142142
},
143143
"timestamp": "2012-12-02T00:30:12.984Z",
144-
"writeKey": "123xyz"
144+
"writeKey": "YOUR_WRITE_KEY"
145145
}
146146
```
147147

@@ -175,7 +175,7 @@ POST https://api.segment.io/v1/page
175175
"userId": "019mr8mf4r",
176176
"name": "Tracking HTTP API",
177177
"timestamp": "2012-12-02T00:31:29.738Z",
178-
"writeKey": "123xyz"
178+
"writeKey": "YOUR_WRITE_KEY"
179179
}
180180
```
181181
The `page` call has the following fields:
@@ -208,7 +208,7 @@ POST https://api.segment.io/v1/screen
208208
"userId": "019mr8mf4r",
209209
"name": "Tracking HTTP API",
210210
"timestamp": "2012-12-02T00:31:29.738Z",
211-
"writeKey": "123xyz"
211+
"writeKey": "YOUR_WRITE_KEY"
212212
}
213213
```
214214

@@ -248,7 +248,7 @@ POST https://api.segment.io/v1/group
248248
"employees": 420
249249
},
250250
"timestamp": "2012-12-02T00:31:38.208Z",
251-
"writeKey": "123xyz"
251+
"writeKey": "YOUR_WRITE_KEY"
252252
}
253253
```
254254
The `group` call has the following fields:
@@ -282,7 +282,7 @@ POST https://api.segment.io/v1/alias
282282
"previousId": "39239-239239-239239-23923",
283283
"userId": "019mr8mf4r",
284284
"timestamp": "2012-12-02T00:31:29.738Z",
285-
"writeKey": "123xyz"
285+
"writeKey": "YOUR_WRITE_KEY"
286286
}
287287
```
288288
The `alias` call has the following fields:
@@ -365,7 +365,7 @@ POST https://api.segment.io/v1/batch
365365
"timestamp": "2015-2-02T00:30:12.984Z"
366366
}
367367
],
368-
"writeKey": "123xyz",
368+
"writeKey": "YOUR_WRITE_KEY",
369369
"context": {
370370
"device": {
371371
"type": "phone",
@@ -424,7 +424,7 @@ POST https://api.segment.io/v1/identify
424424
"Kissmetrics": true,
425425
"Google Analytics": false
426426
},
427-
"writeKey": "123xyz"
427+
"writeKey": "YOUR_WRITE_KEY"
428428
}
429429
```
430430

0 commit comments

Comments
 (0)