What are their headers? Is it like using curl headers? {Code...} is the header like the header with curl?
... URL httpUrl = new URL (billing_url); HttpURLConnection http = (HttpURLConnection) httpUrl. openConnection (); http. setRequestProperty ("opcode", String. valueOf (opcode); // header http. setRequestProperty ("appkey", appkey); // header http. setRequestProperty ("sign", sign); // header http. setRequestProperty ("tag", String. valueOf (tag); // header http. setRequestProperty ("channelId", String. valueOf (channelId); // header http. setConnectTimeout (3000); http. setRequestMethod ("POST"); // post http. setDoInput (true); http. setDoOutput (true); PrintWriter out = new PrintWriter (http. getOutputStream (); out. print ("data =" + data); // note that the data transmission mode is out. flush ();...
The problem has been disabled. cause:
Reply content:
What are their headers? Is it like using curl headers?
... URL httpUrl = new URL (billing_url); HttpURLConnection http = (HttpURLConnection) httpUrl. openConnection (); http. setRequestProperty ("opcode", String. valueOf (opcode); // header http. setRequestProperty ("appkey", appkey); // header http. setRequestProperty ("sign", sign); // header http. setRequestProperty ("tag", String. valueOf (tag); // header http. setRequestProperty ("channelId", String. valueOf (channelId); // header http. setConnectTimeout (3000); http. setRequestMethod ("POST"); // post http. setDoInput (true); http. setDoOutput (true); PrintWriter out = new PrintWriter (http. getOutputStream (); out. print ("data =" + data); // note that the data transmission mode is out. flush ();...