cryptnox-pos
1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
Toggle main menu visibility
Loading...
Searching...
No Matches
https_post.h
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: LGPL-3.0-or-later
3
* Copyright (c) 2026 Cryptnox SA
4
*/
5
15
16
#ifndef HTTPS_POST_H
17
#define HTTPS_POST_H
18
19
#include <stdbool.h>
20
#include <stddef.h>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
45
bool
https_post_json
(
const
char
*url,
const
char
*body,
46
char
*resp_buf,
size_t
resp_buf_size,
47
const
char
*user,
const
char
*pass,
const
char
*ca_pem);
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* HTTPS_POST_H */
https_post_json
bool https_post_json(const char *url, const char *body, char *resp_buf, size_t resp_buf_size, const char *user, const char *pass, const char *ca_pem)
POST a JSON body over HTTPS and read the response.
Definition
https_post.cpp:140
main
https_post.h
Generated by
1.17.0