{"id":21843013,"url":"https://github.com/ullmark/restify-jsonpmethodoverride","last_synced_at":"2026-05-18T08:02:23.964Z","repository":{"id":8042445,"uuid":"9452763","full_name":"ullmark/restify-jsonpmethodoverride","owner":"ullmark","description":"A handler for restify that adds JSONP method override capabilities.","archived":false,"fork":false,"pushed_at":"2013-05-08T13:29:50.000Z","size":128,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-21T16:15:57.607Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ullmark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-15T16:12:50.000Z","updated_at":"2013-11-24T13:49:27.000Z","dependencies_parsed_at":"2022-08-24T01:51:15.698Z","dependency_job_id":null,"html_url":"https://github.com/ullmark/restify-jsonpmethodoverride","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ullmark/restify-jsonpmethodoverride","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullmark%2Frestify-jsonpmethodoverride","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullmark%2Frestify-jsonpmethodoverride/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullmark%2Frestify-jsonpmethodoverride/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullmark%2Frestify-jsonpmethodoverride/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ullmark","download_url":"https://codeload.github.com/ullmark/restify-jsonpmethodoverride/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullmark%2Frestify-jsonpmethodoverride/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33170442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T22:14:04.630Z","updated_at":"2026-05-18T08:02:23.931Z","avatar_url":"https://github.com/ullmark.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"restify-jsonpmethodoverride\n===========================\n\nWhat is?\n---------------------\nCreating an APi and enabling it for javascript browser clients can be a bit of a pain if you want \nto keep your APi clean by working with the HTTP Verbs for CRUD since anything other than **GET** is \nimpossible in JSONP.\n\nUsage\n---------------------\n\n```javascript\nvar restify = require('restify'),\n    jsonpOverride = require('restify-jsonpoverride');\n\nvar server = restify.createServer();\n// query parser is needed, for the override and therefor must be configured as \n// a pre. **mapParams** must be set to false due to bug in query parser\nserver.pre(restify.queryParser( mapParams: false ));\nserver.pre(jsonpMethodOverride());\nserver.use(restify.jsonp());\n\n// this route is executed on\n// **POST**: /foo\n// **GET**: /foo?_method=POST\u0026callback=something\nserver.post('/foo', function(req, res, next) {\n});\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullmark%2Frestify-jsonpmethodoverride","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fullmark%2Frestify-jsonpmethodoverride","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullmark%2Frestify-jsonpmethodoverride/lists"}