We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
请问go语言如何请求api接口?有示例吗?
The text was updated successfully, but these errors were encountered:
总是提示10005,看了代码应该是strings.HasPrefix(contentType, "image")这里过不去
Sorry, something went wrong.
经过排查发现对于文件的 mime 与 content-Type 检测有问题,这一部分将重写,感谢反馈
问题(提问) 请问go语言如何请求api接口?有示例吗? $postData['image'] = new \CURLFile(realpath($newFileName),$file['type'],$file['name']); 我用php请求也有这个问题,但是已经解决了,需要自己添加mime $file['type']
请问go语言如何请求api接口?有示例吗? $postData['image'] = new \CURLFile(realpath($newFileName),$file['type'],$file['name']); 我用php请求也有这个问题,但是已经解决了,需要自己添加mime $file['type']
No branches or pull requests
Question(提问)
请问go语言如何请求api接口?有示例吗?
The text was updated successfully, but these errors were encountered: