{"action":"created","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2590","repository_url":"https://api.github.com/repos/Alamofire/Alamofire","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2590/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2590/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2590/events","html_url":"https://github.com/Alamofire/Alamofire/issues/2590","id":359058155,"node_id":"MDU6SXNzdWUzNTkwNTgxNTU=","number":2590,"title":"Remove backslash from url","user":{"login":"daraujofs","id":4997184,"node_id":"MDQ6VXNlcjQ5OTcxODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4997184?v=4","gravatar_id":"","url":"https://api.github.com/users/daraujofs","html_url":"https://github.com/daraujofs","followers_url":"https://api.github.com/users/daraujofs/followers","following_url":"https://api.github.com/users/daraujofs/following{/other_user}","gists_url":"https://api.github.com/users/daraujofs/gists{/gist_id}","starred_url":"https://api.github.com/users/daraujofs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daraujofs/subscriptions","organizations_url":"https://api.github.com/users/daraujofs/orgs","repos_url":"https://api.github.com/users/daraujofs/repos","events_url":"https://api.github.com/users/daraujofs/events{/privacy}","received_events_url":"https://api.github.com/users/daraujofs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T13:53:01Z","updated_at":"2018-10-04T16:11:14Z","closed_at":"2018-10-04T16:11:14Z","author_association":"NONE","body":"I need to send a GET request passing a json object in url:\r\nhttp://base.com.br?servicos=[{\"id_produto\":2,\"qtd\"22:1}]\r\n\r\nWhen I append the json object, the url keep with backslashes on quotes:\r\nhttp://base.com.br?servicos=[{\\\"id_produto\\\":2,\\\"qtd\\\"22:1}]\r\n\r\nI have tried to remove quotes replacing \"\\\"\" and it removes backslashes, but I need the quotes for the request.\r\n"},"comment":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/comments/427078081","html_url":"https://github.com/Alamofire/Alamofire/issues/2590#issuecomment-427078081","issue_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/2590","id":427078081,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzA3ODA4MQ==","user":{"login":"jshier","id":51020,"node_id":"MDQ6VXNlcjUxMDIw","avatar_url":"https://avatars0.githubusercontent.com/u/51020?v=4","gravatar_id":"","url":"https://api.github.com/users/jshier","html_url":"https://github.com/jshier","followers_url":"https://api.github.com/users/jshier/followers","following_url":"https://api.github.com/users/jshier/following{/other_user}","gists_url":"https://api.github.com/users/jshier/gists{/gist_id}","starred_url":"https://api.github.com/users/jshier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshier/subscriptions","organizations_url":"https://api.github.com/users/jshier/orgs","repos_url":"https://api.github.com/users/jshier/repos","events_url":"https://api.github.com/users/jshier/events{/privacy}","received_events_url":"https://api.github.com/users/jshier/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T16:11:14Z","updated_at":"2018-10-04T16:11:14Z","author_association":"CONTRIBUTOR","body":"I suggest you URL encode the JSON string before adding to the URL, that way it won't need the additional backslashes.\r\n\r\nAdditionally, we use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on [Stack Overflow](https://stackoverflow.com).\r\n\r\nCheers. 🍻\r\n\r\n---\r\n\r\nFrom our [Contribution Guidelines](https://github.com/Alamofire/Alamofire/blob/master/CONTRIBUTING.md)\r\n\r\n## Asking Questions\r\n\r\nWe don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on [Stack Overflow](https://stackoverflow.com) instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others."}}
{"actor":{"display_login":"jshier"}}