locked
Using http post/get method to get data from service running on third server RRS feed

  • Question

  • Hi,

    In a customized build task, how can I  use http post/get method to get data from service running on a third server?

    In a build task like below screenshot, I want to get populate the dropdown list from a third server.

    At this time, I can only populate the dropdown list from a static list in the task.json file like below:

    "inputs": [
            {"name":"CompanyDepartments",
               "type":"pickList",
               "label":"Company Departments",
               "defaultValue":"",
               "required":true,
               "helpMarkDown":"",
               "groupName":"group1",
               "options":{
                   "0":"Developers",
                   "1":"Admin",
                   "2":"Requirements"}
           },


    • Edited by DanZhangMVP Tuesday, October 31, 2017 8:16 AM
    Tuesday, October 31, 2017 8:13 AM