Skip to content

Cannot pass GET resources query string params #5

@minaguib

Description

@minaguib

The Dyn endpoint GET REST/AllRecord/<zone> has special support for query string arguments, for example, detail=y

Unfortunately, without using dirty ruby trickery, it's currently impossible to supply QS vars to this library for GET calls:

  • If supplied in a concatenated string in the resource path to rest_call (eg: "REST/AllRecord/example.com?detail=y"), this method unpacks and re-packs it with a / at the end, causing a broken path
  • If supplied in the arguments arg to rest_call, it's completely ignored in this if condition

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions