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
373 B

#include <iostream>
#include "../lib/cppurl.hpp"
using namespace std;
using namespace marcelb;
int main () {
Curl rest;
rest.header("Baba", "Janja").useragent("Dinio api client v1.1.0 - bitelex@bitelex.co");
cout << rest.get("http://localhost:5000/?param1=tvt&param2=2023") << endl;
// cout << rest.request("https://reqres.in/api/users/2") << endl;
}