Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-16797

Use HTTP response codes with REST API

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.6.3
    • Fix Version/s: Unscheduled
    • Component/s: CiviCRM API
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding

      Description

      It would make the CiviCRM REST API easier to consume if it made use of HTTP status codes (as is a general practice for REST APIs) to indicate when a request has failed, rather than always returning a status code 200 as is currently the case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              keirlawson Keir
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: