So I send an API Post request to create a Room but I also want to change the background theme (NOT COLOR) to the background number six of the w2g-themes class (HTML).
I Tried with “theme_bg”:“Theme-7” but it didn’t work (see below).
var sendData = JSON.stringify({'w2g_api_key':config.w2g_api_key,'share':yturl,'bg_color':config.w2g_color,'bg_opacity':config.w2g_opacity,'theme_bg':"Theme-7"});
http.simpleRequest({
'method': 'POST',
'url': config.w2g_api_endpoint,
'timeout': 6000,
'body': sendData,
'headers': {
'Content-Type': 'application/json',
'Content-Length': sendData.length
}
thanks for help.