Closed zhangsen1860 closed 3 years ago
Hello,
As stated in the install documentation, you need to use the flag -DWITH_JANSSON=off
to disable Jansson support.
Also, to set the content-type header in the response, you can use ulfius_set_response_properties
as explained in the API documentation
Happy hacking!
Hello, I need to send post request to other rest service, and the Content-Type application/json is required, so how to set the http header, and is the JANSSON required when compiling libulfius.so?