{"action":"created","issue":{"url":"https://api.github.com/repos/andymckay/curling/issues/25","labels_url":"https://api.github.com/repos/andymckay/curling/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/andymckay/curling/issues/25/comments","events_url":"https://api.github.com/repos/andymckay/curling/issues/25/events","html_url":"https://github.com/andymckay/curling/pull/25","id":59664661,"number":25,"title":"Switch to oauthlib, add support for query string through command line API","user":{"login":"diox","id":187006,"avatar_url":"https://avatars.githubusercontent.com/u/187006?v=3","gravatar_id":"","url":"https://api.github.com/users/diox","html_url":"https://github.com/diox","followers_url":"https://api.github.com/users/diox/followers","following_url":"https://api.github.com/users/diox/following{/other_user}","gists_url":"https://api.github.com/users/diox/gists{/gist_id}","starred_url":"https://api.github.com/users/diox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diox/subscriptions","organizations_url":"https://api.github.com/users/diox/orgs","repos_url":"https://api.github.com/users/diox/repos","events_url":"https://api.github.com/users/diox/events{/privacy}","received_events_url":"https://api.github.com/users/diox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-03T16:15:36Z","updated_at":"2015-03-10T18:09:32Z","closed_at":"2015-03-10T18:09:07Z","pull_request":{"url":"https://api.github.com/repos/andymckay/curling/pulls/25","html_url":"https://github.com/andymckay/curling/pull/25","diff_url":"https://github.com/andymckay/curling/pull/25.diff","patch_url":"https://github.com/andymckay/curling/pull/25.patch"},"body":"This is to make the following work:\r\n\r\n`% curling -i 'https://marketplace.allizom.org/api/v2/langpacks/?active=false'`\r\n\r\nWith the current code, curling actually ignores the query string and does a request to https://marketplace.allizom.org/api/v2/langpacks/, which is not what I need, so here is my attempt to fix it.\r\n\r\nI also switched to oauthlib to get rid of the oauth2 dependency, which is insecure and unmaintained  : https://github.com/simplegeo/python-oauth2/issues/129 ; this could be done in a separate pull request if needed.\r\n\r\nI know very little about curling, slumber, oauthlib vs oauth2, and although my patch seems to work for me, but it might have broken subtle things I don't understand/use yet, so take your time ;) "},"comment":{"url":"https://api.github.com/repos/andymckay/curling/issues/comments/78112959","html_url":"https://github.com/andymckay/curling/pull/25#issuecomment-78112959","issue_url":"https://api.github.com/repos/andymckay/curling/issues/25","id":78112959,"user":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T18:09:32Z","updated_at":"2015-03-10T18:09:32Z","body":"Awesome thanks, as we chatted on IRC, we'll tag and test solitude, zamboni and webpay out sometimes next week."}}