{"id":30583345,"url":"https://github.com/synergex/http_query_string","last_synced_at":"2026-02-10T22:31:54.231Z","repository":{"id":149574590,"uuid":"438715148","full_name":"Synergex/HTTP_QUERY_STRING","owner":"Synergex","description":"Function that returns an HTTP protocol query string. (Update for Synergy 9.5 compatibility)","archived":false,"fork":false,"pushed_at":"2022-07-25T18:25:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-29T10:49:54.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Synergex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-12-15T17:25:34.000Z","updated_at":"2022-08-04T16:08:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"45e72dc5-83c9-49ee-8e04-579d87a8399a","html_url":"https://github.com/Synergex/HTTP_QUERY_STRING","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Synergex/HTTP_QUERY_STRING","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FHTTP_QUERY_STRING","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FHTTP_QUERY_STRING/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FHTTP_QUERY_STRING/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FHTTP_QUERY_STRING/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Synergex","download_url":"https://codeload.github.com/Synergex/HTTP_QUERY_STRING/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Synergex%2FHTTP_QUERY_STRING/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29319686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"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-08-29T08:33:41.623Z","updated_at":"2026-02-10T22:31:54.226Z","avatar_url":"https://github.com/Synergex.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP_QUERY_STRING\u003cbr /\u003e\n**Created Date:** 1/15/2004\u003cbr /\u003e\n**Last Updated:** 10/15/2010\u003cbr /\u003e\n**Description:** Function that returns an HTTP protocol query string. (Update for Synergy 9.5 compatibility)\u003cbr /\u003e\n**Platforms:** Windows; Unix; OpenVMS\u003cbr /\u003e\n**Products:** Synergy DBL; HTTP API\u003cbr /\u003e\n**Minimum Version:** 8.1\u003cbr /\u003e\n**Author:** Steve Ives\n\u003chr\u003e\n\n**Additional Information:**\nWhen passing form data via the HTTP protocol, field names and values are often\npassed in the form of a \"query string\", which is essentially an ampersand (\u0026)\ndelimited string containing field name and value pairs. For example:\n\nfirstname=John\u0026lastname=Doe\u0026city=Gold+River\u0026state=CA\n\nQuery strings are typically used in one of two ways, depending on the HTTP\n\"method\" being used. If you are using a HTTP GET then the query string is\nappended to the end of the URI, following a question mark (?). For example:\n\nhttp://www.domain.com/page.asp?firstname=John\u0026lastname=Doe\n\nIf you are using an HTTP POST (for example to POST data to an Active Server\nPages form) then the querystring is passed in the BODY of the HTTP request.\n\nThis function accepts an array of field names and an array of field values\nand then builds and returns a query string in a dynamic memory handle. The\narrays you pass in MUST BE REAL ARRAYS (i.e. declared with the [] syntax).\nAn additional optional parameter returns the length of the returned data.\n\nAn example of using this routine is:\n\nfield[1] = \"name\"\nfield[2] = \"location\"\n\nvalue[1] = \"John Doe\"\nvalue[2] = \"Sacramento, CA\"\n\nhandle = %http_query_string(field,value)\n\nIn this instance, the content of the returned memory handle would be:\n\nname=John+Doe\u0026location=Sacramento%2C+CA\n\nNotice that data passed through a query string must also be URL Encoded, and\nthis routine uses the URL_ENCODE routine (also available from the Synergy\nCode Exchange) for that purpose.\n\nDEALLOCATION OF THE STATIC DYNAMIC MEMORY ALLOCATED BY THIS ROUTINE IS THE\nRESPONSIBILITY OF THE CALLING ROUTINE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynergex%2Fhttp_query_string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynergex%2Fhttp_query_string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynergex%2Fhttp_query_string/lists"}