{"action":"created","issue":{"url":"https://api.github.com/repos/alubbe/named-routes/issues/15","repository_url":"https://api.github.com/repos/alubbe/named-routes","labels_url":"https://api.github.com/repos/alubbe/named-routes/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/alubbe/named-routes/issues/15/comments","events_url":"https://api.github.com/repos/alubbe/named-routes/issues/15/events","html_url":"https://github.com/alubbe/named-routes/issues/15","id":147003600,"number":15,"title":"How to make 'post' requests? ","user":{"login":"okayzed","id":98617,"avatar_url":"https://avatars.githubusercontent.com/u/98617?v=3","gravatar_id":"","url":"https://api.github.com/users/okayzed","html_url":"https://github.com/okayzed","followers_url":"https://api.github.com/users/okayzed/followers","following_url":"https://api.github.com/users/okayzed/following{/other_user}","gists_url":"https://api.github.com/users/okayzed/gists{/gist_id}","starred_url":"https://api.github.com/users/okayzed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okayzed/subscriptions","organizations_url":"https://api.github.com/users/okayzed/orgs","repos_url":"https://api.github.com/users/okayzed/repos","events_url":"https://api.github.com/users/okayzed/events{/privacy}","received_events_url":"https://api.github.com/users/okayzed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-08T18:31:38Z","updated_at":"2016-04-08T20:00:02Z","closed_at":null,"body":"How do you create post methods? I see app.get() and router.add('get', but don't see how for 'post'. Any tips / recommendations? \r\n\r\nI was using reversable router before, but the underlying module for reversable router has changed (xregexp.XRegExp has moved into the top level) and am trying to upgrade to named-routes instead. Thanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/alubbe/named-routes/issues/comments/207579389","html_url":"https://github.com/alubbe/named-routes/issues/15#issuecomment-207579389","issue_url":"https://api.github.com/repos/alubbe/named-routes/issues/15","id":207579389,"user":{"login":"okayzed","id":98617,"avatar_url":"https://avatars.githubusercontent.com/u/98617?v=3","gravatar_id":"","url":"https://api.github.com/users/okayzed","html_url":"https://github.com/okayzed","followers_url":"https://api.github.com/users/okayzed/followers","following_url":"https://api.github.com/users/okayzed/following{/other_user}","gists_url":"https://api.github.com/users/okayzed/gists{/gist_id}","starred_url":"https://api.github.com/users/okayzed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okayzed/subscriptions","organizations_url":"https://api.github.com/users/okayzed/orgs","repos_url":"https://api.github.com/users/okayzed/repos","events_url":"https://api.github.com/users/okayzed/events{/privacy}","received_events_url":"https://api.github.com/users/okayzed/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T20:00:02Z","updated_at":"2016-04-08T20:00:02Z","body":"I meant to say: when I use router.post() and add('post'), the URL doesn't seem to work for me - the .get() and add('get') seem to work compatibly with my old calls to node-reversable-router, but .post and .add('post') do not resolve the old routes i had. \r\n\r\nI've forked node-reversable-router and fixed its issue (the XRegexp dependency stuff + toplevel import) and pinned my package.json to my github in the meanwhile. "}}