Skip to content

Conversation

@Wisher-coder
Copy link

  • Add support for binary file requests in GET method
  • Set expectDataType to ARRAY_BUFFER for binary requests

- Add support for binary file requests in GET method
- Set expectDataType to ARRAY_BUFFER for binary requests
// set request method, url query parameters, body
if (params.method == 'GET') {
options.method = http.RequestMethod.GET;

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果在这样设置,post就覆盖不到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants