Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9129

Create OptionsVerbDefinition - REST

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.3
    • 2.16.0, 2.15.4
    • rest
    • None
    • Unknown

    Description

      Some API like Swagger sends HTTP OPTIONS method request (http://restcookbook.com/HTTP%20Methods/options/) to get, when CORS is enable, the CORS HTTP Headers (Access-Control-Allow-*) prior to run a POST/PUT or DELETE operation

      A workaround has been proposed to pass using the verb("") method the ("OPTIONS") (see camel-8373) - but it should be better that we propose also a OptionsVerbDefinition.

      Attachments

        Activity

          People

            cmoulliard Moulliard Charles
            cmoulliard Moulliard Charles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: