Title: allow callback as second parameter for get/post/put/delete methods · Issue #31 · doubleleft/hook-javascript · GitHub
Open Graph Title: allow callback as second parameter for get/post/put/delete methods · Issue #31 · doubleleft/hook-javascript
X Title: allow callback as second parameter for get/post/put/delete methods · Issue #31 · doubleleft/hook-javascript
Description: As a shortcut for .get().then(function() { }): hook.get('/url', function() { }) hook.post('/url', function() { })
Open Graph Description: As a shortcut for .get().then(function() { }): hook.get('/url', function() { }) hook.post('/url', function() { })
X Description: As a shortcut for .get().then(function() { }): hook.get('/url', function() { }) hook.post('/url', function() { })
Opengraph URL: https://github.com/doubleleft/hook-javascript/issues/31
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"allow callback as second parameter for get/post/put/delete methods","articleBody":"As a shortcut for `.get().then(function() { })`:\n\n```\nhook.get('/url', function() { })\nhook.post('/url', function() { })\n```\n","author":{"url":"https://github.com/endel","@type":"Person","name":"endel"},"datePublished":"2015-06-10T20:48:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/31/hook-javascript/issues/31"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7b8d4b51-31ac-27c4-b3ba-302533ee78d6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBD4:A8FCC:7565:9A6C:698ED53F |
| html-safe-nonce | d09faae9cc2e1b4e14f8dd85354d21dd057c6acfa35fbb093f74114be5192153 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkQ0OkE4RkNDOjc1NjU6OUE2Qzo2OThFRDUzRiIsInZpc2l0b3JfaWQiOiI1MTgyNjc3NTM1Mzc3MjQ5NTk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2720091a7c88acb68fb13aad87ff629d9949a5c59c82518cc85a4bfcab4f4538 |
| hovercard-subject-tag | issue:87101996 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/doubleleft/hook-javascript/31/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac7b97454c676e5cd43f00973ff3c71202796105d1541c9e2cceadffc4cee7aa/doubleleft/hook-javascript/issues/31 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac7b97454c676e5cd43f00973ff3c71202796105d1541c9e2cceadffc4cee7aa/doubleleft/hook-javascript/issues/31 |
| og:image:alt | As a shortcut for .get().then(function() { }): hook.get('/url', function() { }) hook.post('/url', function() { }) |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | endel |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/doubleleft/hook-javascript git https://github.com/doubleleft/hook-javascript.git |
| octolytics-dimension-user_id | 921921 |
| octolytics-dimension-user_login | doubleleft |
| octolytics-dimension-repository_id | 16422778 |
| octolytics-dimension-repository_nwo | doubleleft/hook-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16422778 |
| octolytics-dimension-repository_network_root_nwo | doubleleft/hook-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width