-1
A
回答
1
使用HttPost如果可以的話:
HttpPost httppost = new HttpPost("url");
httpost.addHeader("Content-Type", "text/plain");
相關問題
- 1. 如何在HTTPUrlConnection中取消設置ContentHandlerFactory
- 2. 如何爲HttpUrlConnection設置Cookie
- 3. HttpUrlConnection如何設置SO_KEEPALIVE
- 4. 設置MimeType HttpURLConnection上傳
- 5. 如何將MimeBodyPart ContentType設置爲「text/html」?
- 6. 在ServiceBus輸出中設置BrokeredMessage ContentType
- 7. 如何在HttpURLConnection上設置內容類型?
- 8. 如何在剃鬚刀中設置contenttype(CSHTML)?
- 9. 如何在ServiceStack客戶端中設置ContentType?
- 10. 設置響應的中間件ContentType
- 11. 如何使用android的httpURLconnection設置授權標頭
- 12. HTTPBuilder設置請求contenttype
- 13. jqGrid contentType標題未設置
- 14. Android:設置HttpUrlConnection速度限制
- 15. HttpURLConnection超時設置
- 16. 如何在eclipse上設置android設備?
- 17. 在Android上使用HttpURLConnection
- 18. 如何在httpurlconnection中添加參數android
- 19. 如何在Android的RadioButton上設置OnClickListener?
- 20. 如何設置 「字符集= UTF-8」 GeneratePresignedUrlRequest.setContentType(contentType中)
- 21. 如何在運行時設置HttpPostedFileBase ContentType值
- 22. BackBone js - 如何在進行AJAX調用時設置contentType?
- 23. Android上的DefaultHttpClient或HttpURLConnection
- 24. Android上的HTTPUrlConnection問題
- 25. HTTP POST HTTPUrlConnection中的數據未設置?
- 26. 無法在Spring中的Spring HttpServletResponse中設置ContentType
- 27. 如何在Android Studio上設置Kotlin?
- 28. 如何在通知上設置onclicklistener android
- 29. 如何在Android上設置CouchDB-Lucene
- 30. Android tabhost:如何在tabcontent上設置tabwidget?
-1,你沒有表現出任何reasearch –
谷歌知道:P –