Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2786

Update the Rest Calls - body section at the Rest client module page

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None

    Description

      At our Rest client module doc entry, we have a section which explains how to send data through the body attribute.

      We have:

      WARNING: If you intend to send a list of values in the body, you need to convert the list to a string. To send this:

      body:
        userId: 1
        title: aTitle
      

      you need to convert it to and send this:

      body: '{"userId": 1, "title": "aTitle"}'
      

      But it is not correct, the correct way to send multiple values is:

      body: 'userId={userId}& title ={title}' 
      

      Please, update the docs so other costumers don't face issues while trying to send forms with multiple values.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              lpodkoritnik Laura Podkoritnik
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR