# Eline api for Benq #### Creates a post for eline ``` POST https://preteethai.ml/api/eline_without_validation { "img_url": "your image url", "token": "preteeth_eline_api_for_benq", } ``` With the following fields: | Parameter | Type | Required? | Description | | ------------- |--------------|------------|-------------------------------------------------| | title | string | required | The image url of a lateral face image for generating eline. The image file should be saved as jpg file. | | token | string | required | set to 'preteeth_eline_api_for_benq' | The response is a Post object within a data envelope. Example response: ``` HTTP/1.1 201 OK Content-Type: application/json; charset=utf-8 { "start_point": [x_1, y_1], "end_point": [x_2, y_2], "prn_point": [x_3, y_3], "pg_point": [x_4, y_4] } ``` Where a Post object is: | Field | Type | Description | | --------------|--------------|-------------------------------------------------| | start_point | list [int, int] | The starting point of the E-line is represented by a list of two integers, denoting the x and y values of the point. For a better understanding of the x and y values, please refer to the illustration below. | | end_point | list [int, int] | The end point of the E-line. | | prn_point | list [int, int] | The Prn point of the E-line. | | pg_point | list [int, int] | The Pg point of the E-line. | ![](https://i.imgur.com/YlDGvlb.jpg)