Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-840

WIP Rest API does not return an error when an invalid request field is provided

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • None
    • master
    • WebServer
    • None

    Description

      for example, the endpoint GET /tasks takes some parameters:

       

      {
          "status": "passed",
          "max": 1,
          "after": "2022-04-04"
          "blarg": "hello"
      }

      where the inclusion of "blarg" should cause the server to respond with a 400: Bad Request and a message which includes the offending field such as "'blarg' is not a valid field for GET /tasks"

       

       

      Attachments

        Activity

          People

            akpietik Aku Pietikäinen
            daniel.smith Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: