android - HttpURLConnection set method before connection made -
just quick one, have looked around , there doesn't seem 1 else asking same questions. wondering if possible set request method before connection opened when new httpurlconnection made.
thanks
according docs:
httpurlconnection uses method default. use post if setdooutput(true) has been called. other http methods (options, head, put, delete , trace) can used setrequestmethod(string).
Comments
Post a Comment