MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data has changed. To receive raw query-continue data, use the 'rawcontinue' parameter. To silence this warning, pass an empty string for 'continue' in the initial query."
        }
    },
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "Remote_Access_Key",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "125": {
                "pageid": 125,
                "ns": 0,
                "title": "Register a new domain name",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "You can register new domains with us through your Client Area. Instructions on how to do so are provided below.\n\n[1] Log into your {{Client Area}}\n\nIf you do not have access to your billing account with us, you can request a password reset here:\n\n{{Client Area Password Reset}}\n\n[2] Click on Domains and then Register a New Domain.\n\n[3] Type in the domain you wish to register.\n\n[4] Select the TLD (Top Level Domain, example: .com, .net, etc.) from the drop down.\n\n[5] Click on the 'Check Availability' button.\n\n[6] If your desired domain is available, make sure there is a check mark in the box next to the domain and choose the length of the desired registration.\n\n[7] Scroll down and click the 'Add to Cart' button.\n\n[8] Choose any desired addons for the domain.\n\n[8] Specify the nameservers the domain needs to be pointed to.\n\n[9] Click on the 'Update Cart' button.\n\n{{note|If you're wanting to register an additional domain(s), click the [[File:Whmcs_continue_shopping.jpg\u200e]] button and repeat steps 3-10 for the additional domain(s).}}\n\n[10] Click the [[File:Whmcs checkout.jpg]] button once you have all of the domains you're wanting to register in your shopping cart.\n\n[11] Ensure all of the information pulled from your billing account is correct (Your Details, Domain Registration Information, and Payment Method).\n\n[12] Checkmark the 'I have read and agree to the Terms of Service' box once you have finished reading our Terms of Service.\n\n[13] Click the [[File:Whmcs complete order.jpg]] button.\n\n[[Category:WHMCS]]"
                    }
                ]
            },
            "370": {
                "pageid": 370,
                "ns": 0,
                "title": "Relative Vs. Absolute Paths",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "This article will show the difference between relative and absolute paths.\n\n==Absolute Path==\n\nAn absolute path is when you specify the full path that is taken when reaching a specific destination.  Here are some examples of absolute paths and where they may be used:\n\n===Linux Absolute===\n\n<syntaxhighlight lang=\"bash\">nano /home/testuser/public_html/testdir/example.txt</syntaxhighlight>\n\nFor the above example, the absolute path includes every directory that needs to be accessed in order to view the text file example.txt.\n\n===Absolute Internet URL===\n\n<pre>http://testdomain.com/examplepage.txt</pre>\n\nIn this example, the absolute path includes the domain you are viewing, and the specific web page on that domain.\n\n\n==Relative Paths==\n\nA relative path is when you specify the rest of the path as to where you currently are. Here are some examples of relative paths and where they may be used:\n\n===Linux Relative===\n\n<syntaxhighlight lang=\"bash\">nano testdir/example.txt</syntaxhighlight>\n\nIn the above example, I am using a relative path to view a text file example.txt. I have already navigated to, and am currently located in:\n\n<syntaxhighlight lang=\"bash\">home/testuser/public_html/</syntaxhighlight>\n\nSo, since I am already located within home/testuser/public_html/, I can simply use the relative path to view the example.txt file.\n\n===Relative Internet URL===\n\nRelative paths do not work when visiting a webpage, but are highly recommended when displaying images or configuring scripts. Here is an example of a relative path used for uploading an image:\n\n<pre><img src=\"testdir/example.jpg\" /></pre>\n\nThe relative path in the above example is:\n\n<pre>testdir/example.jpg</pre>\n\nRelative paths are highly recommended over absolute paths when displaying images or configuring scripts, here are some reasons as to why:\n\n====Changing Your Domain====\nIf you were to change your domain name, the relative path would still work. If you were to use an absolute path and changed your domain name, then you would need to update your file that is referencing your image to use the new domain name.\n\n====SSL certificates====\nIf you were to install a SSL on your domain, while using an absolute path of \"http\" specified in the file that is referencing your image, when you view your image you would receive a warning of \"This is not trusted\". The reason being is because SSLs use \"https\", and you specified in the file that is referencing your image to use \"http\". In order to make the \"This is not trusted\" warning disappear, you will need to update the file that is referencing your image to use \"https\".\n\nNow say you are using a relative path and you have a SSL installed. When you visit your image, you will not receive a warning of \"This is not trusted\" because the file that is referencing your image does not care if you use \"http\", or \"https\". This is because when using a relative path, you are telling the file that is referencing your image to use the type of connection you specify in the URL."
                    }
                ]
            }
        }
    }
}