Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-696

Avatica should sent payload in message body, not header

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0-incubating
    • avatica
    • None

    Description

      This one is pretty surprising; noticed while playing around with the server with curl. We're reading the request payload off of the request header rather than from the request payload. For example, this is required:

      curl -XPOST \
        -H 'request: {"request":"prepareAndExecute","connectionId":"3b0f3231-47d2-45f0-9aba-1f317955beaa","sql":"select * from WEB_STAT","maxRowCount":-1}' \
        http://localhost:8765/
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment