Questions tagged [restbed]

A comprehensive and consistent programming model for building applications that require seamless and secure communication over HTTP.

Restbed is a comprehensive and consistent programming model for building applications that require seamless and secure communication over HTTP, with the ability to model a range of business processes, designed to target mobile, tablet, desktop and embedded production environments.

See more details at the GitHub homepage.

38 questions
7
votes
1 answer

Restbed example

It´s the first time I use restbed or anything related to HTTP (programming wise). So I added the restbed to my project and tried to run the simple example showed in the main page of the restbed's github. #include #include #include…
user1434770
  • 85
  • 1
  • 5
5
votes
0 answers

How to setup a new C++ project with restbed?

I am trying to write a web service in C++ (I am very new to the language) using restbed for HTTP handling. Both projects seem to be using cmake to do build configuration and dependency management, so I figured I would do so as well. But I am…
Mad Wombat
  • 14,490
  • 14
  • 73
  • 109
3
votes
0 answers

CMakeList.txt set up for restbed

I am fairly new to CMake and using C++ Frameworks and have trouble setting up my project. When I try to build it I get the following error /Users/adjust/Documents/C++/WebService/main.cpp:7:10: fatal error: 'restbed' file not found I cloned the…
Paul Meyer
  • 77
  • 9
2
votes
1 answer

Redirecting/proxying a HTTP request to a secondary HTTP server

I use a C++ library called restbed as a webserver to deliver static HTML files. On the same machine I have another webserver running, and I would like to redirect some of the incoming connections to restbed. Depending on the request I would make the…
Daniel Stephens
  • 2,371
  • 8
  • 34
  • 86
2
votes
1 answer

How to build and link external CMake dependencies with CMake?

I'd like to use the following third party library: https://github.com/Corvusoft/restbed I'd like to create a folder structure similar to this: - root - CMakeLists.txt - src - third_party - restbed - src …
masm64
  • 1,222
  • 3
  • 14
  • 31
2
votes
1 answer

restbed static lib with examples

Hi i wanted to compile restbed as a static lib with examples but I have a linker error. using : ubuntu 16.04 gcc-5.4 What i did: cd dependency/openssl ./config *long text* Configured for linux-x86_64. *** Because of configuration changes, you…
rinn2883
  • 366
  • 1
  • 14
2
votes
1 answer

Linker error using restbed

so, i'm trying to compile my program which has restbed as dependency. I already compiled restbed with the following command: cmake -DBUILD_TESTS=NO -DBUILD_SSL=YES -DBUILD_SHARED=NO make -j4 install Compiling restbed does not result in any…
Hibbel
  • 133
  • 8
2
votes
1 answer

Link a C++ library: Restbed

I just downloaded the restbed library: https://github.com/Corvusoft/restbed. I have trouble using it.. In fact, I don't know where to put this library.. (I have Linux Mint 17.2).. I'm pretty sure that I'm doing something using because when I use…
Tokay
  • 157
  • 2
  • 14
1
vote
0 answers

Restbed C++ OpenAPI Generator does not convert a vector of custom objects into a json string in the generated code

I am using OpenAPI generator to generate Restbed C++ API server. For some reason, generated method GET_handler_internal contains code where resultObject never gets parsed into a json string, and the result is empty. I can see it both in my project…
cornhedgehog
  • 85
  • 1
  • 5
1
vote
0 answers

Rest Https Server Using Visual C++ 2017

I want to implement a simple REST https server using visual studio 2017 (Windows 10). I used restbed with this code. But I got this error: 'rested::Http': HTTP client is deprecated; we will release a complimentary client framework at a future…
b0w92
  • 55
  • 8
1
vote
1 answer

Link Error in Visual Studio 2017 with restbed

I followed resthub github for building the library mkdir build && cd build cmake -DBUILD_SSL=OFF -DBUILD_EXAMPLES=ON -G "Visual Studio 15 2017" .. msbuild INSTALL.vcxproj It successfully created distibution folder. I added those in my sample…
JibinNajeeb
  • 784
  • 1
  • 10
  • 31
1
vote
0 answers

Restbed, Different methodes same paths are not allowed

I'm using a restbed c++ and I came across a issue when registering the same uri but with different methods (POST,GET,DELETE) on one resource. When running the server and requesting a GET request it works fine, but for the POST request I get '405…
1
vote
2 answers

Failed to locate OpenSSL dependency building restbed on windows

I'm trying to compile restbed with openssl on windows 10 using cmake 3.15.2. I followed the instructions provided here and thus installed openssl following these : cd restbed\dependency\openssl perl Configure shared VC-WIN64A nmake nmake test nmake…
Schnaffon
  • 101
  • 1
  • 10
1
vote
0 answers

restbed make install in raspberry-pi undefined reference to dlopen dlclose

I'm very inexperienced in raspberry and raspbian OS. I'm trying to install restbed library in a raspberry-pi. When I do make install it doesn't work and I get the following: pi@raspberrypi:~/restbed/build $ make install [ 17%] Built target…
RomanR
  • 11
  • 1
1
vote
0 answers

Chain REST requests using restbed C++

I am trying to chain some REST requests using restbed lib and I have an issue. So the work flow is something like this: the frontend sends a GET request to the backend. The backend does some processing and should return a reponse to the frontend but…
Alex
  • 37
  • 1
  • 8
1
2 3