C++ libcurl framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
cppurl/test/test.cpp

17 lines
269 B

#include <iostream>
#include "../lib/cppurl.hpp"
using namespace std;
using namespace marcelb;
int main () {
Curl rest;
cout << rest.request("https://reqres.in/api/unknown/2") << endl;
cout << rest.request("https://reqres.in/api/users/2") << endl;
}