{"id":25196042,"url":"https://github.com/dev-formata-io/stof-http","last_synced_at":"2026-02-16T00:01:42.151Z","repository":{"id":271036877,"uuid":"912155829","full_name":"dev-formata-io/stof-http","owner":"dev-formata-io","description":"Stof HTTP library and server.","archived":false,"fork":false,"pushed_at":"2025-03-27T21:25:32.000Z","size":95,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T11:03:10.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://stof.dev","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-formata-io.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-04T18:58:02.000Z","updated_at":"2025-03-27T21:25:35.000Z","dependencies_parsed_at":"2025-03-27T22:24:45.160Z","dependency_job_id":"800f8f63-1c1d-4a5c-9456-220c9d9bb279","html_url":"https://github.com/dev-formata-io/stof-http","commit_stats":null,"previous_names":["dev-formata-io/stof-http"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dev-formata-io/stof-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-formata-io%2Fstof-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-formata-io%2Fstof-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-formata-io%2Fstof-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-formata-io%2Fstof-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-formata-io","download_url":"https://codeload.github.com/dev-formata-io/stof-http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-formata-io%2Fstof-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29494175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T00:00:57.352Z","status":"ssl_error","status_checked_at":"2026-02-15T23:56:34.338Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2025-02-10T01:39:35.839Z","updated_at":"2026-02-16T00:01:42.099Z","avatar_url":"https://github.com/dev-formata-io.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stof HTTP\nStof HTTP library. Adding this library to your Stof document allows you to make HTTP requests.\n\n## Example\nHere is an example of using this library in Stof.\n\n``` rust\nfn example(): str {\n    let url = \"https://restcountries.com/v3.1/name/germany\";\n                \n    // Using a response object, we are telling the document to call header_import using the responses 'content-type' as a format,\n    // parsing the response into this object. The object can be created like so, or be an already created obj in the document somewhere.\n    let obj = new {};\n    let resp = HTTP.get(url, obj);\n    \n    // resp is in the form (content type (str), headers (vec), body (blob))\n    // return resp[2] as str; // This would convert the blob body to a string using utf-8, returning the entire response body\n    \n    let first = obj.field[0];\n    return `${first.altSpellings[1]} has an area of ${first.area}`; // returns 'Federal Republic of Germany has an area of 357114'\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-formata-io%2Fstof-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-formata-io%2Fstof-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-formata-io%2Fstof-http/lists"}