iotaledger / integration-services

https://demo-integration-services.iota.cafe/
Apache License 2.0
30 stars 19 forks source link

Examples are not updated after the new release #682

Closed sandevins closed 2 years ago

sandevins commented 2 years ago

In the documentation the commands are not correct as it requires to navigate to a non-existing folder.

cd clients/client-sdk/how_tos

This is in the How-Tos/Integration Services SDK/Run How-Tos section of the documentation.

In addition to this, the examples are not updated to use the new release of the API, they are still pointing to the /api/v0.1/path.

This is part of the output of npm install:

config: {
      transitional: [Object],
      adapter: [Function: httpAdapter],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 120000,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      validateStatus: [Function: validateStatus],
      headers: [Object],
      method: 'post',
      url: 'http://localhost:3000/api/v0.1/identities/create',
      params: [Object],
      data: '{"username":"Admin-18671","claim":{"type":"Person"}}'
    }