HTTP API Protocol defines the API data format, including api request and response data format.
They use the HTTP1.1 wrapper of the official [SkyWalking Browser Protocol](Browser-Protocol.md). Read it for more details.
## Performance Data Report
Detail information about data format can be found in [BrowserPerf.proto](https://github.com/apache/skywalking-data-collect-protocol/blob/master/browser/BrowserPerf.proto).
### POST http://localhost:12800/browser/perfData
Send a performance data object with JSON format.
Input:
```json
{
"service":"web",
"serviceVersion":"v0.0.1",
"pagePath":"/index.html",
"redirectTime":10,
"dnsTime":10,
"ttfbTime":10,
"tcpTime":10,
"transTime":10,
"domAnalysisTime":10,
"fptTime":10,
"domReadyTime":10,
"loadPageTime":10,
"resTime":10,
"sslTime":10,
"ttlTime":10,
"firstPackTime":10,
"fmpTime":10
}
```
OutPut:
```json
```
## Error Log Report
Detail information about data format can be found in [BrowserPerf.proto](https://github.com/apache/skywalking-data-collect-protocol/blob/master/Browser/BrowserPerf.proto).
@@ -4,7 +4,8 @@ Browser protocol describes the data format between [skywalking-client-js](https:
## Overview
Browser protocol is defined and provided in [gRPC format](https://github.com/apache/skywalking-data-collect-protocol/blob/master/browser/BrowserPerf.proto).
Browser protocol is defined and provided in [gRPC format](https://github.com/apache/skywalking-data-collect-protocol/blob/master/browser/BrowserPerf.proto),
also implemented in [HTTP 1.1](Browser-HTTP-API-Protocol.md)