Description:
When we call HTTP endpoints, we often use query parameters. Currently, there is a method to get query parameters as map in http:Request. But, we cannot set query parameters easily.
The way to do it now is to create a string concatenating the parameters one by one. It's better if we have a function to set query parameters using a map.
Description: When we call HTTP endpoints, we often use query parameters. Currently, there is a method to get query parameters as
map
inhttp:Request
. But, we cannot set query parameters easily.The way to do it now is to create a
string
concatenating the parameters one by one. It's better if we have a function to set query parameters using amap
.The usage may look like following: