Questions tagged [crow]

For questions about Crow: a C++ microframework for web.

Crow is C++ microframework for web inspired by Python Flask. Some of its features are type safety and performance. Link to github: ipkn/crow.

24 questions
0
votes
0 answers

How to connect to a FTP server with Crow c++ (not localhost)

I have just implemented crow in my C++ application. The application now returns a result to a local host. Instead of uploading the result to a local host I want to connect to a FTP server and I can see the server through FileZilla. I have the host,…
0
votes
0 answers

Maximize Openssl Performance

I have developed crypto service(eg key gen.) using crow c++ rest api framework with one SDK which uses OpenSSL as crypto accelerator. Now my SDK is directly related with the performance of OpenSSL. So i am looking how to maximize the same. Here is…
sandeep_k
  • 1
  • 1
0
votes
1 answer

C++ REST API with Crow. CORS on POST requests

im currently building a REST-Api with Crow in C++ and I kinda stuck. Everything's works pretty much out of the box as expected but the POST Endpoint. Im unable to solve the CORS problem: XMLHttpRequest cannot load…
Tobi K.
  • 1
  • 2
0
votes
2 answers

Crow microframework - CMake Error: The following variables are used in this project, but they are set to NOTFOUND

Here is the full error message: Error CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake…
0
votes
1 answer

Refer to json individual objects in cpp crow

i am using a cpp crow library and i am having difficulty in accessing individual objects i am attaching my code here. CROW_ROUTE(app,"/hello/") ([](string name){ crow::json::wvalue x; x["name"] = "llllds"; x["Town"] = "Texas"; …
0
votes
0 answers

How to read data from text file dragged into site, HTML and JS

On my site I want to include a palindrome finder where you can drag in a .txt file and it will give you all the palindromes within it. I am able to read this data and log it in my console, but am unable to use the actual data. When I try to get…
NeonFire
  • 186
  • 2
  • 7
-2
votes
1 answer

how do i solve the CORS problem on cpp code?

i need to do get and post request , the get request works without problems but every time i do post request using the frontend (react/axios) it gives me this errors : Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote…
-3
votes
1 answer

C++ Cross-compiling to Windows from project on Ubuntu: Getting compiler errors about missing standard libraries

I'm new C++ and I'm trying to develop a very simple webserver app for Windows, but I'm compiling it on Ubuntu 22.04 using MinGW. All the versions of everything are the ones Ubuntu 22.04 will give to me with the latest updates from its default…
Alasdair
  • 13,348
  • 18
  • 82
  • 138
1
2