Title: Between a _post and a _get, need a fresh client? · Issue #107 · codegram/hyperclient · GitHub
Open Graph Title: Between a _post and a _get, need a fresh client? · Issue #107 · codegram/hyperclient
X Title: Between a _post and a _get, need a fresh client? · Issue #107 · codegram/hyperclient
Description: See ruby-grape/grape-with-roar#9. Doesn't work: require 'hyperclient' client = Hyperclient.new('http://localhost:9292/api') 3.times do |i| client.splines._post(spline: { name: i.to_s, reticulated: [true, false].sample }) end client.splin...
Open Graph Description: See ruby-grape/grape-with-roar#9. Doesn't work: require 'hyperclient' client = Hyperclient.new('http://localhost:9292/api') 3.times do |i| client.splines._post(spline: { name: i.to_s, reticulated: ...
X Description: See ruby-grape/grape-with-roar#9. Doesn't work: require 'hyperclient' client = Hyperclient.new('http://localhost:9292/api') 3.times do |i| client.splines._post(spline: { name: i...
Opengraph URL: https://github.com/codegram/hyperclient/issues/107
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Between a _post and a _get, need a fresh client?","articleBody":"See https://github.com/ruby-grape/grape-with-roar/issues/9.\n\nDoesn't work:\n\n``` ruby\nrequire 'hyperclient'\n\nclient = Hyperclient.new('http://localhost:9292/api')\n\n3.times do |i|\n client.splines._post(spline: { name: i.to_s, reticulated: [true, false].sample })\nend\n\nclient.splines.each do |spline|\n puts \"spline #{spline.id} #{spline.reticulated ? 'is' : 'is not'} reticulated\"\nend\n\nclient.splines.each(\u0026:_delete)\n```\n\nWorks:\n\n``` ruby\nrequire 'hyperclient'\n\nclient = Hyperclient.new('http://localhost:9292/api')\n3.times do |i|\n client.splines._post(spline: { name: i.to_s, reticulated: [true, false].sample })\nend\n\nclient = Hyperclient.new('http://localhost:9292/api')\nclient.splines.each do |spline|\n puts \"spline #{spline.id} #{spline.reticulated ? 'is' : 'is not'} reticulated\"\nend\n\nclient = Hyperclient.new('http://localhost:9292/api')\nclient.splines.each(\u0026:_delete)\n```\n","author":{"url":"https://github.com/dblock","@type":"Person","name":"dblock"},"datePublished":"2016-09-25T21:05:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/107/hyperclient/issues/107"}
| 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:de9ef43f-af0f-ab4f-d1bb-cb1d9ae710c2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A016:3C78AB:234EFC3:2F42EB3:697832BF |
| html-safe-nonce | 913ed195a0c03a93295d5b7cd1570efe53c46f3386d554ebd49d98a9304ceb57 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDE2OjNDNzhBQjoyMzRFRkMzOjJGNDJFQjM6Njk3ODMyQkYiLCJ2aXNpdG9yX2lkIjoiMjM2MjE4NTc1MzQ3NjczOTc3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c090b096de8de3484fd592b0f3ad2bec5af80a70395b195d38036e714aa2a111 |
| hovercard-subject-tag | issue:179108889 |
| 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/codegram/hyperclient/107/issue_layout |
| twitter:image | https://opengraph.githubassets.com/82524cba9516c2abf69697684255a29791a31ce05cf062c9fd313556ed0b114d/codegram/hyperclient/issues/107 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/82524cba9516c2abf69697684255a29791a31ce05cf062c9fd313556ed0b114d/codegram/hyperclient/issues/107 |
| og:image:alt | See ruby-grape/grape-with-roar#9. Doesn't work: require 'hyperclient' client = Hyperclient.new('http://localhost:9292/api') 3.times do |i| client.splines._post(spline: { name: i.to_s, reticulated: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dblock |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/codegram/hyperclient git https://github.com/codegram/hyperclient.git |
| octolytics-dimension-user_id | 82056 |
| octolytics-dimension-user_login | codegram |
| octolytics-dimension-repository_id | 3877860 |
| octolytics-dimension-repository_nwo | codegram/hyperclient |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3877860 |
| octolytics-dimension-repository_network_root_nwo | codegram/hyperclient |
| 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 | 8cc3e064910e26648760f573a358cfc07c97b42c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width