[ 
https://issues.apache.org/jira/browse/QUARKS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289682#comment-15289682
 ] 

ASF GitHub Bot commented on QUARKS-96:
--------------------------------------

Github user dlaboss commented on a diff in the pull request:

    https://github.com/apache/incubator-quarks/pull/106#discussion_r63770525
  
    --- Diff: 
connectors/http/src/test/java/quarks/test/connectors/http/HttpTest.java ---
    @@ -80,9 +154,9 @@ public void testStatusCode() throws Exception {
             
             String url = "http://httpbin.org/status/";;
             
    +        TStream<Integer> stream = topology.collection(Arrays.asList(200, 
404, 202));
    --- End diff --
    
    Just to clarify, when I mentioned pulling the declaration of the `stream` 
outside of the request() invocation, I was only talking about for the samples 
in the javadoc.  It's OK that test code had it that way.  But it's fine to 
leave it this way now.  Sorry for the confusion.


> Add an HTTP POST utility method.
> --------------------------------
>
>                 Key: QUARKS-96
>                 URL: https://issues.apache.org/jira/browse/QUARKS-96
>             Project: Quarks
>          Issue Type: Improvement
>          Components: Connectors
>            Reporter: Daniel John Debrunner
>            Assignee: Dale LaBossiere
>              Labels: newbie
>
> HTTPStreams.requests can support any type of request but it would be useful 
> to have a utility method for POST requests, similar to getJson - i.e., a 
> postJson()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to