{"id":15832111,"url":"https://github.com/splincode/curl","last_synced_at":"2026-01-08T18:55:12.053Z","repository":{"id":102321096,"uuid":"84179660","full_name":"splincode/curl","owner":"splincode","description":"snippets","archived":false,"fork":false,"pushed_at":"2017-03-07T09:23:41.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-05T12:41:07.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/splincode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-07T09:22:17.000Z","updated_at":"2017-03-07T09:22:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"574336c7-e7df-4675-a6c5-2d30e2df921c","html_url":"https://github.com/splincode/curl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splincode%2Fcurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splincode%2Fcurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splincode%2Fcurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splincode%2Fcurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splincode","download_url":"https://codeload.github.com/splincode/curl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635983,"owners_count":20809333,"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","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-10-05T12:40:47.767Z","updated_at":"2026-01-08T18:55:12.019Z","avatar_url":"https://github.com/splincode.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# curl\nsnippets\n\n```\n$ curl --cookie-jar \"jsession.out\" -s -X POST --data \"{login=admin,password=avkcom.ru}\" --verbose http://localhost:8282/blackbox/auth/login-check \u0026\u0026 echo \"\\n\"\n\n\n*   Trying 127.0.0.1...\n* Connected to localhost (127.0.0.1) port 8282 (#0)\n\u003e POST /blackbox/auth/login-check HTTP/1.1\n\u003e Host: localhost:8282\n\u003e User-Agent: curl/7.47.0\n\u003e Accept: */*\n\u003e Content-Length: 32\n\u003e Content-Type: application/x-www-form-urlencoded\n\u003e \n* upload completely sent off: 32 out of 32 bytes\n\u003c HTTP/1.1 200 OK\n\u003c Date: Tue, 07 Mar 2017 09:22:47 GMT\n* Added cookie JSESSIONID=\"1p67blono8nna1v1rubezwzcn2\" for domain localhost, path /blackbox, expire 0\n\u003c Set-Cookie: JSESSIONID=1p67blono8nna1v1rubezwzcn2;Path=/blackbox\n\u003c Expires: Thu, 01 Jan 1970 00:00:00 GMT\n\u003c Content-Length: 7\n\u003c Server: Jetty(9.3.15.v20161220)\n\u003c \n* Connection #0 to host localhost left intact\nSuccess\\n\n\n```\n\n```\n$ curl --cookie \"jsession.out\" -s -i -X GET --verbose http://localhost:8282/blackbox/api/step-get?id=1 \u0026\u0026 echo \"\\n\"\n\n\n*   Trying 127.0.0.1...\n* Connected to localhost (127.0.0.1) port 8282 (#0)\n\u003e GET /blackbox/api/step-get?id=1 HTTP/1.1\n\u003e Host: localhost:8282\n\u003e User-Agent: curl/7.47.0\n\u003e Accept: */*\n\u003e Cookie: JSESSIONID=1p67blono8nna1v1rubezwzcn2\n\u003e \n\u003c HTTP/1.1 200 OK\nHTTP/1.1 200 OK\n\u003c Date: Tue, 07 Mar 2017 09:23:24 GMT\nDate: Tue, 07 Mar 2017 09:23:24 GMT\n\u003c Date: Tue, 07 Mar 2017 09:23:24 GMT\nDate: Tue, 07 Mar 2017 09:23:24 GMT\n\u003c Content-Type: application/json; charset=UTF-8\nContent-Type: application/json; charset=UTF-8\n\u003c Server: Jetty(9.3.15.v20161220)\nServer: Jetty(9.3.15.v20161220)\n\u003c Content-Length: 93\nContent-Length: 93\n\n\u003c \n* Connection #0 to host localhost left intact\n{\"success\":true,\"data\":{\"id\":1,\"title\":\"Инициация создания запроса\"}}\\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplincode%2Fcurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplincode%2Fcurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplincode%2Fcurl/lists"}