Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Not Only Axios Request
Not Only Axios Request

Not Only Axios Request

Alell Tech

|
1 install
| (0) | Free
Http Request from some libs like Axios
This extension is now unpublished from Marketplace. You can choose to uninstall it.

Http axios

This extension provides 1 tasks!

  • AxiosRequest

Features

  • Http Requests with Axios.

Usage sample

Build your Request from Insomnia or Postman and send via source input.

⚠️ We do not evaluate this javascript snippet code, just get the config request data.

Insomnia

- job:
  ...
  steps:
  - task: AxiosRequest@4
    name: insomnia
    displayName: "Axios Request from Insomnia"
    inputs:
      variablePrefix: INSOMNIA_RES_
      source: |
        ...
        var axios = require("axios").default;

        var options = {
          method: 'POST',
          url: 'http://localhost:9000/apisix/admin/user/login',
          data: {username: 'admin', password: 'admin'}
        };

        axios.request(options).then(function (response) {
          console.log(response.data);
        }).catch(function (error) {
          console.error(error);
        });
        ...
  - script: |
      echo "Log task output variable:"
      echo $(insomnia.body)
      echo "Log shared variable with custom prpefix:"
      echo $(INSOMNIA_RES_BODY)

  - task: AxiosRequest@4
    displayName: "Axios Request from Postman"
    inputs:
      source: |
        ...
        let config = {
          method: 'GET',
          url: 'http://localhost:7007/api/catalog/entities',
          params: {filter: ['kind=api', 'relations']},
          headers: {'User-Agent': 'insomnia/2023.5.8'}
        };
        ...


Help us

See CONTRIBUTING.md

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft