{"id":31838995,"url":"https://github.com/graphqland/http-graphql-playground","last_synced_at":"2025-10-12T04:00:13.375Z","repository":{"id":57747573,"uuid":"523209433","full_name":"graphqland/http-graphql-playground","owner":"graphqland","description":"HTTP request for graphql-playground with standard Request and Response","archived":false,"fork":false,"pushed_at":"2022-08-10T05:38:39.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-02T02:26:35.806Z","etag":null,"topics":["graphql","graphql-playground","handler","http","request","response"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphqland.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-10T05:12:51.000Z","updated_at":"2022-08-10T05:22:57.000Z","dependencies_parsed_at":"2022-09-06T03:21:00.690Z","dependency_job_id":null,"html_url":"https://github.com/graphqland/http-graphql-playground","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/graphqland/http-graphql-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphqland%2Fhttp-graphql-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphqland%2Fhttp-graphql-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphqland%2Fhttp-graphql-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphqland%2Fhttp-graphql-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphqland","download_url":"https://codeload.github.com/graphqland/http-graphql-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphqland%2Fhttp-graphql-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010130,"owners_count":26084694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["graphql","graphql-playground","handler","http","request","response"],"created_at":"2025-10-12T04:00:07.868Z","updated_at":"2025-10-12T04:00:13.320Z","avatar_url":"https://github.com/graphqland.png","language":null,"readme":"# http-graphql-playground\n\n[![deno land](http://img.shields.io/badge/available%20on-deno.land/x-lightgrey.svg?logo=deno)](https://deno.land/x/http_graphql_playground)\n[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/http_graphql_playground/mod.ts)\n![npm](https://img.shields.io/npm/v/@graphqland/http-graphql-playground)\n![GitHub](https://img.shields.io/github/license/graphqland/http-graphql-playground)\n\nHTTP request for `graphql-playground` with standard `Request` and `Response`\n\n## Usage\n\n- `createHandler` - Create HTTP request handler for `graphql-playground`.\n- `validateRequest` - Validate the request is valid GraphQL playground request\n  or not.\n\n```ts\nimport { createHandler } from \"https://deno.land/x/http_graphql_playground@$VERSION/mod.ts\";\nimport { serve } from \"https://deno.land/std@$VERSION/http/mod.ts\";\n\nconst handler = createHandler({\n  endpoint: \"/graphql\",\n});\nawait serve(handler);\n```\n\n## Spec\n\nThe response includes the following response status codes and headers:\n\n| Code  |   Content    | Headers                |\n| :---: | :----------: | ---------------------- |\n| `200` | `text/html`  | `content-type`, `vary` |\n| `405` |      -       | `allow`                |\n| `406` | `text/plain` | `content-type`, `vary` |\n\n## License\n\nCopyright © 2022-present [graphqland](https://github.com/graphqland).\n\nReleased under the [MIT](./LICENSE) license\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphqland%2Fhttp-graphql-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphqland%2Fhttp-graphql-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphqland%2Fhttp-graphql-playground/lists"}