API Automation

API Get Webpage Source Code

API Get webpage source code:


Request Url:


http://127.0.0.1:35000/api/v1/profile/source


Request Type: GET


NameTypeDescriptionrequired
profileIdstringBrowser profile IDtrue


Body
x-www-form-urlencoded


{
    "profileId": "056FEE67-A1E2-412B-866F-78DEA5AF2D22"
}


Response


{
    "status": "OK",
    "value": "<html ...>"
}


Note:


1. Enable browser automation settings and save the settings on the XLogin client. For the tutorial, please refer to the "Launch the browser automation port";


2. profileId: Please refer to the "Where can the Profile ID be Found?" tutorial or use the profile/list interface to get all profileId.