comandy/build/test.c

14 lines
471 B
C
Raw Normal View History

2024-04-15 02:39:28 +09:00
#include <stdio.h>
#include "libcomandy.h"
int main() {
2024-04-15 17:10:06 +09:00
puts(request("{\"method\":\"GET\","
"\"url\":\"https://i.pximg.net/img-master/img/2012/04/04/21/24/46/26339586_p0_master1200.jpg\","
"\"headers\":{"
"\"Referer\":\"https://www.pixiv.net/\","
"\"User-Agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0\""
"}"
"}"));
2024-04-15 02:39:28 +09:00
}