{"action":"created","issue":{"url":"https://api.github.com/repos/jacwright/RestServer/issues/83","repository_url":"https://api.github.com/repos/jacwright/RestServer","labels_url":"https://api.github.com/repos/jacwright/RestServer/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/jacwright/RestServer/issues/83/comments","events_url":"https://api.github.com/repos/jacwright/RestServer/issues/83/events","html_url":"https://github.com/jacwright/RestServer/issues/83","id":198277338,"number":83,"title":"A little bit more flexibility on urls for handle-function...","user":{"login":"openWebX","id":125310,"avatar_url":"https://avatars3.githubusercontent.com/u/125310?v=4","gravatar_id":"","url":"https://api.github.com/users/openWebX","html_url":"https://github.com/openWebX","followers_url":"https://api.github.com/users/openWebX/followers","following_url":"https://api.github.com/users/openWebX/following{/other_user}","gists_url":"https://api.github.com/users/openWebX/gists{/gist_id}","starred_url":"https://api.github.com/users/openWebX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openWebX/subscriptions","organizations_url":"https://api.github.com/users/openWebX/orgs","repos_url":"https://api.github.com/users/openWebX/repos","events_url":"https://api.github.com/users/openWebX/events{/privacy}","received_events_url":"https://api.github.com/users/openWebX/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-01T18:50:01Z","updated_at":"2017-07-18T02:43:18Z","closed_at":"2017-07-18T02:43:18Z","body":"In my case i just added the RestServer to a selfwritten API which already does rewrites and routing based on urls... \r\n\r\nTherefor i just needed to be able to use the handle-Method with a given url (not the REQUEST_URI)... \r\n\r\ni did it that way:\r\n```\r\npublic function handle($path = null) {\r\n        if (!$path) {\r\n            $this->url = $this->getPath();\r\n        } else {\r\n            $this->url = $path;\r\n        }\r\n```\r\n\r\nThat way i can do my own routing and authorization and pass the rest of the url directly to the RestServer...\r\n\r\nPerhaps somebody may need that also..."},"comment":{"url":"https://api.github.com/repos/jacwright/RestServer/issues/comments/315942154","html_url":"https://github.com/jacwright/RestServer/issues/83#issuecomment-315942154","issue_url":"https://api.github.com/repos/jacwright/RestServer/issues/83","id":315942154,"user":{"login":"tyzoid","id":974758,"avatar_url":"https://avatars2.githubusercontent.com/u/974758?v=4","gravatar_id":"","url":"https://api.github.com/users/tyzoid","html_url":"https://github.com/tyzoid","followers_url":"https://api.github.com/users/tyzoid/followers","following_url":"https://api.github.com/users/tyzoid/following{/other_user}","gists_url":"https://api.github.com/users/tyzoid/gists{/gist_id}","starred_url":"https://api.github.com/users/tyzoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyzoid/subscriptions","organizations_url":"https://api.github.com/users/tyzoid/orgs","repos_url":"https://api.github.com/users/tyzoid/repos","events_url":"https://api.github.com/users/tyzoid/events{/privacy}","received_events_url":"https://api.github.com/users/tyzoid/received_events","type":"User","site_admin":false},"created_at":"2017-07-18T02:43:18Z","updated_at":"2017-07-18T02:43:18Z","body":"RestServer is designed to be a standalone library, not integrated with another. It looks like you are making this more as an informational post, but this will not be implemented without a significant refactor to reduce the ugliness factor of such a modification."}}
{"actor":{"display_login":"tyzoid"}}