1
我怎样才能在卷曲curl -i -X POST -H "Content-Type:application/xml" -H "Accept: application/xml" -d "<ticket><summary>This is a Summary</summary><priority>3</priority></ticket>" http://user:[email protected]/spaces/my _space_id/tickets
这种说法转换成Java在Android中?最重要的部分是如何在URL中调用XML?卷曲XML REST POST在Java中的Android
能给我Java代码吗?我试过使用StringEntity,但它没有工作。我可能做错了,但我不知道正确的做法。 – mhakeem 2011-03-15 05:39:13