Skip to content

Commit b6d1e0b

Browse files
committed
[netlify-build]
1 parent fa88501 commit b6d1e0b

File tree

1 file changed

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

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: HTTP API Source
33
redirect_from: '/connections/sources/catalog/libraries/server/http/'
44
id: iUM16Md8P2
55
---
6-
The Segment HTTP Tracking API lets you record analytics data from any website or application. The requests hit Segment servers then Segment routes your data to any destination you want.
6+
The Segment HTTP Tracking API lets you record analytics data from any website or application. The requests hit Segment servers then Segment routes your data to your destination.
77

88
Segment has native [sources](/docs/connections/sources/) for most use cases (like JavaScript and iOS) that are open-source and built for high-performance. But for unsupported use cases, [blocked event forwarding](/docs/protocols/enforce/forward-blocked-events/) or when you're using [Segment-Managed Custom Domain](/docs/connections/sources/custom-domain/), you may want to send data to Segment's HTTP API directly.
99

@@ -12,12 +12,13 @@ Segment has native [sources](/docs/connections/sources/) for most use cases (lik
1212
1313
## Headers
1414

15+
> warning "HTTP API public IP addresses are subject to change"
16+
> The public IP addresses of the HTTP API service are not static and may change without notice. If you are caching the resolved IP address or directly using the IP for submission, you must implement a DNS refresh at least once every 24 hours. Failing to do so may result in submission failures if the underlying IPs change. To ensure long-term reliability, Segment **strongly recommends** using the DNS hostname rather than hardcoding IPs.
17+
1518
### Authentication
1619

1720
Choose between [writeKey authentication](#writeKey-authentication), [basic authentication](#basic-authentication) and [OAuth](#oauth) to authenticate requests.
1821

19-
When authenticating with the HTTP API, don't hard code the IP addresses used to invoke the API. You should refresh this IP address at least once a day or when you experience [5xx errors](#experiencing-5xx-errors).
20-
2122
#### writeKey authentication
2223
Authenticate to the Tracking API by sending your project's **Write Key** along with a request.
2324
The authentication writeKey should be sent as part of the body of the request. This will be encrypted over https.

0 commit comments

Comments
 (0)