About this endpoint
What it does
Compares two text or code snippets sent in the request body. The endpoint’s response schema is not yet defined, so the exact success payload is not documented here.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| mode | ENUM | No | Comparison mode. Allowed values: char, word, line. Default: word. |
| text1 | String | Yes | First text or code snippet to compare. |
| text2 | String | Yes | Second text or code snippet to compare. |
Response
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | No | Contains the details of difference in text |