Title: The "Explain" block attempts a POST request that returns a 405 (method not allowed) status when attempting to explain code · Issue #78 · githubnext/blocks-examples · GitHub
Open Graph Title: The "Explain" block attempts a POST request that returns a 405 (method not allowed) status when attempting to explain code · Issue #78 · githubnext/blocks-examples
X Title: The "Explain" block attempts a POST request that returns a 405 (method not allowed) status when attempting to explain code · Issue #78 · githubnext/blocks-examples
Description: When using the "Explain" block, which is supposed to explain code using ML, it returns a blank response. The reason for this is that it's trying to make POST request that returns a 405 response (method not allowed). The endpoint it is tr...
Open Graph Description: When using the "Explain" block, which is supposed to explain code using ML, it returns a blank response. The reason for this is that it's trying to make POST request that returns a 405 response (me...
X Description: When using the "Explain" block, which is supposed to explain code using ML, it returns a blank response. The reason for this is that it's trying to make POST request that returns a 40...
Opengraph URL: https://github.com/githubnext/blocks-examples/issues/78
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The \"Explain\" block attempts a POST request that returns a 405 (method not allowed) status when attempting to explain code","articleBody":"When using the \"Explain\" block, which is supposed to explain code using ML, it returns a blank response. The reason for this is that it's trying to make POST request that returns a 405 response (method not allowed).\r\n\r\nThe endpoint it is trying to reach is \"https://blocks-sandbox.githubnext.com/api/explain\", one possible cause is that you have to remove the 'sandbox' part from it.\r\n\r\nSome other reasons why this might be happening might be:\r\n\r\n- The server does not accept POST requests to that URL or there’s a redirect involved converting the request to a GET.\r\n- Your browser is making a preflight request, which uses the OPTIONS HTTP method. This is to check whether the server will allow the POST request (the 405 status code is sent in the response to the OPTIONS request, not the POST request).\r\n- The POST method might not be allowed on which you are sending the request and the request is simply denying you to make any POST request by sending 405 error response\r\n\r\nSee the screenshots below for more details.\r\n\r\n### Screenshot of the POST request that's not being allowed\r\n\r\n\r\n### Example 'blank' response returned by the explanation block\r\n\r\n\r\n### The 'Explain' block\r\n","author":{"url":"https://github.com/lperezmo","@type":"Person","name":"lperezmo"},"datePublished":"2023-03-25T15:46:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/78/blocks-examples/issues/78"}
| 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:9a5cfcd7-2314-d740-f32c-55e2c1dc0444 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D28:1B821B:1070621:15221E6:69909A8B |
| html-safe-nonce | 2a39a3dc1d72fa272ac0404bc6db87a2f3a2050856f4fd57a60e4804dbb24d96 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDI4OjFCODIxQjoxMDcwNjIxOjE1MjIxRTY6Njk5MDlBOEIiLCJ2aXNpdG9yX2lkIjoiMjIwMzE0NzE1MTc3NjcxNzQ1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fde747e7e5d0730a02c314f4ff5939fe069778bf8cc17eee683402d128bc0fa9 |
| hovercard-subject-tag | issue:1640561957 |
| 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/githubnext/blocks-examples/78/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58ae28ac113dd8e36bacc11f5edbdce746a9a508bd7762cca6d42bde17228d8d/githubnext/blocks-examples/issues/78 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58ae28ac113dd8e36bacc11f5edbdce746a9a508bd7762cca6d42bde17228d8d/githubnext/blocks-examples/issues/78 |
| og:image:alt | When using the "Explain" block, which is supposed to explain code using ML, it returns a blank response. The reason for this is that it's trying to make POST request that returns a 405 response (me... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lperezmo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/githubnext/blocks-examples git https://github.com/githubnext/blocks-examples.git |
| octolytics-dimension-user_id | 89615882 |
| octolytics-dimension-user_login | githubnext |
| octolytics-dimension-repository_id | 426677638 |
| octolytics-dimension-repository_nwo | githubnext/blocks-examples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 426677638 |
| octolytics-dimension-repository_network_root_nwo | githubnext/blocks-examples |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width