http.endpoint() function sends output data to an HTTP URL using the POST request method.
Function type: Output
import "http" http.endpoint( url: "http://localhost:1234/" )
The URL to POST to.
Data type: String
A function that builds the object used to generate the POST request.
You should rarely need to override the default
To see the default
mapFn value or for insight into possible overrides, view the
http.endpoint() source code.
Data type: Function
The returned object must include the following fields:
For more information, see
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support or submit feedback, the following resources are available:
- Post in the InfluxData Community.
- Submit documentation issues to the InfluxDB 2.0 documentation repository.
- Submit InfluxDB issues to the InfluxDB repository.
For our InfluxDB Cloud customers, InfluxData Support is also available.