Oyster Harvest Area Closure Analysis
0.1
Prediction and analysis of NSW oyster harvest area closures.
Loading...
Searching...
No Matches
http.h
Go to the documentation of this file.
1
#ifndef PROGRAM_HTTP_H
2
#define PROGRAM_HTTP_H
3
4
#include <stdlib.h>
5
#include <string.h>
6
#include <curl/curl.h>
7
8
#include "
utils.h
"
9
11
CURLcode
HttpRequest
(cJSON **response,
const
char
*URL,
12
struct
curl_slist *headers, int8_t post,
const
char
* body);
13
14
#endif
//PROGRAM_HTTP_H
HttpRequest
CURLcode HttpRequest(cJSON **response, const char *URL, struct curl_slist *headers, int8_t post, const char *body)
HTTP GET & POST request using cURL.
Definition:
http.c:34
utils.h
include
http.h
Generated by
1.9.5