babelouest / ulfius

Web Framework to build REST APIs, Webservices or any HTTP endpoint in C language. Can stream large amount of data, integrate JSON data with Jansson, and create websocket services
https://babelouest.github.io/ulfius
GNU Lesser General Public License v2.1
1.07k stars 183 forks source link

Sending file in response for Ulfius REST request #256

Open Bhanupriya03 opened 1 year ago

Bhanupriya03 commented 1 year ago

Hi,

The intent is to send the file in response for Ulfius REST request. However we could see that we can send the file in the Ulfius REST request but we could not find if we can send the file in response. Please suggest is there any way if we can directly send a file in the response for Ulfius REST request.

Regards Bhanupriya Bhardwaj