Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15274

API Provider response is always 200 for 2xx responses

    XMLWordPrintable

Details

    Description

      On daily version 1.11.0-20201104 all API Provider default responses returned 200 codes.

      You can refer to this integration to reproduce the behavior: TODO Integration post new-export.zipThis integration should return 201 when a "{"id": 2, "task": "fasdf", "completed": 1}" is POSTed, however it returns 200. Changing the response code to any other number doesn't help and responses are still only 200

      This seems to be happening only for the default responses, error handling is working fine.

      Attachments

        Activity

          People

            kstam@redhat.com Kurt Stam (Inactive)
            mmuzikar Martin Muzikar
            Matej Kralik Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: