{"action":"closed","issue":{"url":"https://api.github.com/repos/visionmedia/superagent/issues/602","labels_url":"https://api.github.com/repos/visionmedia/superagent/issues/602/labels{/name}","comments_url":"https://api.github.com/repos/visionmedia/superagent/issues/602/comments","events_url":"https://api.github.com/repos/visionmedia/superagent/issues/602/events","html_url":"https://github.com/visionmedia/superagent/issues/602","id":64687190,"number":602,"title":"Calling POST method to send array to php backend.","user":{"login":"sunglee","id":38310,"avatar_url":"https://avatars.githubusercontent.com/u/38310?v=3","gravatar_id":"","url":"https://api.github.com/users/sunglee","html_url":"https://github.com/sunglee","followers_url":"https://api.github.com/users/sunglee/followers","following_url":"https://api.github.com/users/sunglee/following{/other_user}","gists_url":"https://api.github.com/users/sunglee/gists{/gist_id}","starred_url":"https://api.github.com/users/sunglee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunglee/subscriptions","organizations_url":"https://api.github.com/users/sunglee/orgs","repos_url":"https://api.github.com/users/sunglee/repos","events_url":"https://api.github.com/users/sunglee/events{/privacy}","received_events_url":"https://api.github.com/users/sunglee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-27T04:08:55Z","updated_at":"2015-04-13T03:31:13Z","closed_at":"2015-04-13T03:31:13Z","body":"In jQuery, I am able to call POST method with array like this:\r\n```\r\nvar ary = [1, 2, 3];\r\n   $.post(\r\n   '/api/path/',\r\n   {ids: ary},\r\n   callback_func,\r\n   'text'\r\n);\r\n```\r\nIs it possible with superagent?\r\nI tried\r\n```\r\nvar ary = [1,2,3];\r\nrequest\r\n   .post('/api/path/')\r\n   .send({ids: ary})\r\n   .end(function(err, res) {\r\n   ...\r\n   }\r\n```\r\nIt seems res.ok is true, but my php backend didn't recognize:\r\n```\r\n<?php\r\n   is_array($args['ids'] //is false\r\n?>\r\n```"}}