comparison cutelient/main.c @ 18:fa2b8af609d9

[Seobeo] Fixed a bug with pathing. Support SSL.
author June Park <parkjune1995@gmail.com>
date Mon, 06 Oct 2025 08:21:34 -0700
parents d97ec3ded2ae
children 875bb6e10db7
comparison
equal deleted inserted replaced
17:d97ec3ded2ae 18:fa2b8af609d9
1 #include <err.h>
1 #include "seobeo/seobeo.h" 2 #include "seobeo/seobeo.h"
2 3
3 4
4 int main() 5 int main(int argc, char **argv)
5 { 6 {
6 Seobeo_Web_ClientGet("127.0.0.1", "6969", "/react"); 7 if (argc < 3)
8 {
9 err(EXIT_FAILURE, "Usage: %s URL, PORT, PATH\n", argv[0]);
10 }
11 Seobeo_Web_ClientGet(argv[1], argv[2], argv[3]);
12 return 0;
7 } 13 }