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.
17 lines
269 B
17 lines
269 B
11 months ago
|
#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;
|
||
|
|
||
|
|
||
|
}
|