一些优化

This commit is contained in:
Yun
2024-03-23 13:11:15 +08:00
parent 7254a9c8fb
commit 83e815bd1f
3 changed files with 22 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
package curlx
import (
"io"
"net/http"
)
func Post(url string, contentType string, body io.Reader) (resp *http.Response, err error) {
return http.Post(url, contentType, body)
}