{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-grape/grape/issues/1246","labels_url":"https://api.github.com/repos/ruby-grape/grape/issues/1246/labels{/name}","comments_url":"https://api.github.com/repos/ruby-grape/grape/issues/1246/comments","events_url":"https://api.github.com/repos/ruby-grape/grape/issues/1246/events","html_url":"https://github.com/ruby-grape/grape/issues/1246","id":126839362,"number":1246,"title":"How to make http request to redirect https?","user":{"login":"ved54321","id":7689116,"avatar_url":"https://avatars.githubusercontent.com/u/7689116?v=3","gravatar_id":"","url":"https://api.github.com/users/ved54321","html_url":"https://github.com/ved54321","followers_url":"https://api.github.com/users/ved54321/followers","following_url":"https://api.github.com/users/ved54321/following{/other_user}","gists_url":"https://api.github.com/users/ved54321/gists{/gist_id}","starred_url":"https://api.github.com/users/ved54321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ved54321/subscriptions","organizations_url":"https://api.github.com/users/ved54321/orgs","repos_url":"https://api.github.com/users/ved54321/repos","events_url":"https://api.github.com/users/ved54321/events{/privacy}","received_events_url":"https://api.github.com/users/ved54321/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-15T09:48:55Z","updated_at":"2016-01-17T19:34:13Z","closed_at":"2016-01-17T19:34:13Z","body":"Currently i have implemented my rest api with http://some_url/api ,how will i convert this to use https://some_url/api ? \r\n\r\nIs there any feature of  grape to implement the same?\r\n \r\n "},"comment":{"url":"https://api.github.com/repos/ruby-grape/grape/issues/comments/172369676","html_url":"https://github.com/ruby-grape/grape/issues/1246#issuecomment-172369676","issue_url":"https://api.github.com/repos/ruby-grape/grape/issues/1246","id":172369676,"user":{"login":"dm1try","id":486807,"avatar_url":"https://avatars.githubusercontent.com/u/486807?v=3","gravatar_id":"","url":"https://api.github.com/users/dm1try","html_url":"https://github.com/dm1try","followers_url":"https://api.github.com/users/dm1try/followers","following_url":"https://api.github.com/users/dm1try/following{/other_user}","gists_url":"https://api.github.com/users/dm1try/gists{/gist_id}","starred_url":"https://api.github.com/users/dm1try/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dm1try/subscriptions","organizations_url":"https://api.github.com/users/dm1try/orgs","repos_url":"https://api.github.com/users/dm1try/repos","events_url":"https://api.github.com/users/dm1try/events{/privacy}","received_events_url":"https://api.github.com/users/dm1try/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T19:34:13Z","updated_at":"2016-01-17T19:34:13Z","body":"@ved54321 you should configure your web server to achieve this.\r\n If you really need to do HTTPS redirects on an application layer you may try [rack-rewrite](https://github.com/jtrupiano/rack-rewrite) or something similar."}}