FastLED 3.9.15
Loading...
Searching...
No Matches

◆ json()

fetch_options & fl::fetch_options::json ( const fl::string & json_data)
inline

Set JSON body with proper content type.

Definition at line 225 of file fetch.h.

225 {
226 mOptions.body = json_data;
227 mOptions.headers["Content-Type"] = "application/json";
228 return *this;
229 }
RequestOptions mOptions
Definition fetch.h:245

References fetch_options(), and mOptions.

+ Here is the call graph for this function: