Uploaded image for project: 'REST Client'
  1. REST Client
  2. MGNLRESTCL-161

Using arrays in the body method requires String literal

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 2.0
    • None
    • None

    Description

      When assigning the body property in restClient's definition, arrays seem to be required to be encapsulated in a string literal. For example:

      body:

      {   "myArray": "[\"item1\",\"item2\"]" }

       

      It would be more clear to maintainers if this value could be stored as:

      body:

      {   "myArray": ["item1","item2"] }

       

      Is this a possibility?

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              srhodes Scot Rhodes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD