Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add anydata support in the setPayload methods #6954

Closed
TharmiganK opened this issue Sep 3, 2024 · 0 comments · Fixed by ballerina-platform/module-ballerina-http#2135
Closed
Assignees
Labels
module/http Team/PCM Protocol connector packages related issues Type/Improvement

Comments

@TharmiganK
Copy link
Contributor

Description:

$Subject

Describe your problem(s)

The setPayload method in the http:Request and http:Response does not support anydata values. Currently it supports only the following types: string|xml|json|byte[]|mime:Entity[]|stream<byte[], io:Error?>

Describe your solution(s)

Add support for anydata in the setPayload methods

Related Issues (optional):

Identified from: #6906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/http Team/PCM Protocol connector packages related issues Type/Improvement
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant