blob: 7d4acb269840496edb97d77355f8e082f5ac7c27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include "transport.h"
int main() {
struct SizedBlock body = {0};
transport_request(GET_ROOT_URL, NULL, NULL, &body);
printf("Body fetched: %ld bytes", strlen(body.memory));
}
|