You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2022/02/17 15:34:12 UTC

[GitHub] [drill] cgivre opened a new pull request #2465: DRILL-8140: Add JSON Post Body to HTTP Rest Storage Plugin

cgivre opened a new pull request #2465:
URL: https://github.com/apache/drill/pull/2465


   # [DRILL-8140](https://issues.apache.org/jira/browse/DRILL-8140): Add JSON Post Body to HTTP Rest Storage Plugin
   
   ## Description
   This PR adds the ability to send a JSON body in a `post` request.
   
   ## Documentation
   This PR adds the following possibility to the API config:
   
   `jsonPostBody`: Some APIs require that data be sent as part of a JSON post body. Simply add the JSON string 
   which is to be included as shown below.  
   
   **Note that APIs can have either a JSON post body OR key/value pairs in the post body
   but not both.**
   
   ```json
   jsonPostBody: "{ \"foo\": \"bar\" }"
   
   ```
   
   ## Testing
   Added unit test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [drill] cgivre closed pull request #2465: DRILL-8140: Add JSON Post Body to HTTP Rest Storage Plugin

Posted by GitBox <gi...@apache.org>.
cgivre closed pull request #2465:
URL: https://github.com/apache/drill/pull/2465


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [drill] cgivre commented on pull request #2465: DRILL-8140: Add JSON Post Body to HTTP Rest Storage Plugin

Posted by GitBox <gi...@apache.org>.
cgivre commented on pull request #2465:
URL: https://github.com/apache/drill/pull/2465#issuecomment-1043204045


   NOTE:  This will be merged once Drill 1.20 has been released.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org