[
https://issues.apache.org/jira/browse/DRILL-8140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494016#comment-17494016
]
ASF GitHub Bot commented on DRILL-8140:
---------------------------------------
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Add JSON Post Body to HTTP Rest Storage Plugin
> ----------------------------------------------
>
> Key: DRILL-8140
> URL: https://issues.apache.org/jira/browse/DRILL-8140
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - Other
> Affects Versions: 1.19.0
> Reporter: Charles Givre
> Assignee: Charles Givre
> Priority: Major
> Fix For: Future
>
>
> Some APIs require information be sent as a JSON post body. This PR enables
> that.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)