Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7730

ResponseParseException - HttpBuilder - RestCLient

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: parser
    • Labels:
      None

      Description

      I see the below exception when I submit my request:
      groovyx.net.http.ResponseParseException: OK

      Request:
      def response = new RestClient().post([ "http://endpoint/path",
      contentType: ContentType.JSON,
      body:

      {"s":a, "b":"af"}

      ])

      Groovy version: 2.3.10
      HttpBuilder version : 0.7.1

      I know that the server responds 200 :OK for this request. I tested it using Advanced Rest Client chrome app.
      I referred the thread http://www.groovy-lang.org/mailing-lists.html#nabble-td333800 but not helpful. Please let me know how I can resolve this issue.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chethan.sjce@gmail.com Chethan Ranganatha
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: