A
A
AXCHG2019-04-24 01:58:58
C++ / C#
AXCHG, 2019-04-24 01:58:58

How to accept REST API HTTPS requests?

Sending REST API HTTPS requests is relatively simple - CURL, Requests for Python (although Python has questions about ssl, but okay)

How can you simply, without problems, accept these same REST API HTTPS requests?

If, for example, the program is written in C? Precisely in C, not in C++?

Of course, you can take a bunch of nginx + write a program to receive FastCGI connections - but this is long, complicated, and requires Linux.

Actually, in order to save time, I want to glue together a bunch of pieces of one big program in completely different languages. But I would like to accept connections not only on Linux, but also on Windows. Although, of course, if not at all, then fine. But maybe there is still some library, like CURL, that can work with certificates out of the box?

Thank you very much in advance!!!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2019-04-24
@axchg

Those. you need an HTTP server in C.
libonion - only Linux, SSL is.
haywire - cross-platform, in my opinion it does not know how to SSL.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question