{"action":"created","issue":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1223","labels_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1223/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1223/comments","events_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1223/events","html_url":"https://github.com/danialfarid/ng-file-upload/issues/1223","id":123502304,"number":1223,"title":"Data sent as Query String after upgrading","user":{"login":"slimovic","id":8292262,"avatar_url":"https://avatars.githubusercontent.com/u/8292262?v=3","gravatar_id":"","url":"https://api.github.com/users/slimovic","html_url":"https://github.com/slimovic","followers_url":"https://api.github.com/users/slimovic/followers","following_url":"https://api.github.com/users/slimovic/following{/other_user}","gists_url":"https://api.github.com/users/slimovic/gists{/gist_id}","starred_url":"https://api.github.com/users/slimovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slimovic/subscriptions","organizations_url":"https://api.github.com/users/slimovic/orgs","repos_url":"https://api.github.com/users/slimovic/repos","events_url":"https://api.github.com/users/slimovic/events{/privacy}","received_events_url":"https://api.github.com/users/slimovic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/labels/non-reproducible","name":"non-reproducible","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-22T15:33:41Z","updated_at":"2016-01-29T19:02:20Z","closed_at":"2016-01-13T15:26:11Z","body":"Hello there,\r\n\r\n By upgrading the ng-file-upload from version **6** to the version **10.1.11**, I got a problem in the server side:\r\n\r\nLet's say I want to send this data with the file:\r\n\r\ntest = {A: \"X\", B: \"Y\", C: \"Z\"}\r\n\r\nIn the frontend I send it like this using the old version:\r\n\r\nUpload.upload({\r\n        url: '/api/upload/',\r\n        file: file,\r\n       data: test,\r\n});\r\n\r\nIn the server side I receive this string: \r\n{data=%7b%22A%22%3a%22X%22%2c%22B%22%3a%22Y%22%2c%22C%22%3a%22Z%22%7d}\r\nAnd this is good\r\n\r\nBy upgrading I got a query string like this: {A=X&B=Y&C=Z}\r\nLike Im using the **GET** method, even I force it to use **POST** and change to the new format(with the version **8**)\r\n \r\nUpload.upload({\r\n        url: '/api/upload/',\r\n        method: 'POST',\r\n       data: {test, file: file}\r\n});\r\n\r\nAnd still getting the same result."},"comment":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/comments/176914215","html_url":"https://github.com/danialfarid/ng-file-upload/issues/1223#issuecomment-176914215","issue_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1223","id":176914215,"user":{"login":"slimovic","id":8292262,"avatar_url":"https://avatars.githubusercontent.com/u/8292262?v=3","gravatar_id":"","url":"https://api.github.com/users/slimovic","html_url":"https://github.com/slimovic","followers_url":"https://api.github.com/users/slimovic/followers","following_url":"https://api.github.com/users/slimovic/following{/other_user}","gists_url":"https://api.github.com/users/slimovic/gists{/gist_id}","starred_url":"https://api.github.com/users/slimovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slimovic/subscriptions","organizations_url":"https://api.github.com/users/slimovic/orgs","repos_url":"https://api.github.com/users/slimovic/repos","events_url":"https://api.github.com/users/slimovic/events{/privacy}","received_events_url":"https://api.github.com/users/slimovic/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T19:02:20Z","updated_at":"2016-01-29T19:02:20Z","body":"I dont have a problem in my client side, I'm sending my data this way:\r\n\r\n```javascript\r\nUpload.upload({\r\n    url: '/api/upload/',\r\n    file: file,\r\n    data: test\r\n});\r\n```\r\nAs I told you the data that I'm sending(the extra data or the arguments, in this case **test**) from the js client received in the server(C# with web API ) as different format not like before(with the version 5)."}}