Skip to content

Instantly share code, notes, and snippets.

@kurorido
Created January 18, 2021 06:38
Show Gist options
  • Save kurorido/ba67c76ccfd7a5c3834eacf5674a5385 to your computer and use it in GitHub Desktop.
Save kurorido/ba67c76ccfd7a5c3834eacf5674a5385 to your computer and use it in GitHub Desktop.
backline api

Request Example

POST

headers

Authorization: Bearer {TOKEN}

body

{
    "url": "https://inboundmarketing.com.tw"
}

Response

{
    "data": [
        {
            "img_alt": "替代文字",
            "img_src": "https://example.com.tw/blog/123/image.jpg",
            "img_a_href": "https://example.com.tw/blog/123",
            "img_a_target": "_blank",
            "img_a_rel": "noopener",
            "a_href": "https://example.com.tw/blog/123",
            "a_target": "_blank",
            "a_rel": "noopener"
        },
        {
            "img_alt": "徵信社",
            "img_src": "https://text.com/image/001.png",
            "img_a_href": "https://text.com/",
            "img_a_target": "_blank",
            "img_a_rel": "nofollow",
            "a_href": "https://text.com/",
            "a_target": "_blank",
            "a_rel": "nofollow"
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment