Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

URL parameters do not use "string" but "object" notation #16

@wilkohein

Description

@wilkohein

Function call for REST URL like "/foo/{foo}" are documented as "client.foo({foo})" - which I would interpret as String value for the parameter.

Implementation shows a wrapper object is assumed:
client.foo({foo : "value"})
to add the value to URL (via "template" function).

2 Options:

  • Improve readme.MD and stick to object - though I believe this is not common-sense as URLs only support plain text strings
  • Do not use "template" but directly use provided value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions