Closed TharmiganK closed 2 weeks ago
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?>
setPayload
http:Request
http:Response
anydata
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: https://github.com/ballerina-platform/ballerina-library/issues/6906
Description:
Describe your problem(s)
The
setPayload
method in thehttp:Request
andhttp:Response
does not supportanydata
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 thesetPayload
methodsRelated Issues (optional):
Identified from: https://github.com/ballerina-platform/ballerina-library/issues/6906