{ "id": "63052", "key": "TIMOB-2420", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11206", "description": "", "name": "BB Preview 2", "archived": true, "released": true, "releaseDate": "2011-05-03" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-08-15T14:58:12.000+0000", "created": "2011-04-15T03:19:14.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "blackberry", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-11-21T07:12:38.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "{html}

See Helpdesk\r\n57221

{html}", "attachment": [ { "id": "22568", "filename": "Untitled1.png", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-15T14:57:21.000+0000", "size": 99505, "mimeType": "image/png" } ], "flagged": false, "summary": "Blackberry: HTTPClient with Parameters Missing Ampersand.", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "162882", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking as invalid. Test code below.\r\n\r\nStep 1: host the php code below\r\nStep 2: point the url to the php page that you just made\r\nStep 3: run the app below\r\nStep 4: notice the output is what was expected\r\n\r\nAttached screenshot of output\r\n\r\n{code:title=\"post.php\"}\r\n\r\n{code}\r\n\r\n{code:title=\"app.js\"}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white',\r\n fullscreen: true\r\n});\r\nvar label = Ti.UI.createLabel({\r\n text: \"this will be the responseText\",\r\n top: 105,\r\n width: 320,\r\n height: 300\r\n});\r\nwin.add(label);\r\n\r\nvar webView = Ti.UI.createWebView({\r\n\r\n});\r\n\r\nvar xhr = Titanium.Network.createHTTPClient();\r\n\r\nvar callparams = {\r\n a: 'Hello',\r\n b: 'World!'\r\n};\r\n\r\nxhr.onload = function() {\r\n var result = this.responseText;\r\n label.text = result;\r\n Ti.API.info(\"responseText: [\"+result+\"]\");\r\n webView.html= result;\r\n};\r\nxhr.open(\"POST\", 'http://192.168.34.76/resources/post.php');//GET method worked as well\r\nxhr.send(callparams);\r\n\r\nwin.add(webView);\r\nwin.open();\r\n{code}\r\n\r\nh4. Tested with\r\nTi BB mobileSDK 1.7.0.RC2\r\nBB Simulator 8520", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-15T14:57:21.000+0000", "updated": "2011-08-15T14:57:21.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }