You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Chethan Ranganatha (JIRA)" <ji...@apache.org> on 2016/01/14 17:19:39 UTC
[jira] [Created] (GROOVY-7730) ResponseParseException - HttpBuilder
- RestCLient
Chethan Ranganatha created GROOVY-7730:
------------------------------------------
Summary: ResponseParseException - HttpBuilder - RestCLient
Key: GROOVY-7730
URL: https://issues.apache.org/jira/browse/GROOVY-7730
Project: Groovy
Issue Type: Bug
Components: parser
Reporter: Chethan Ranganatha
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)