The discussion revolves around managing site customization via API. iamntz initially asks if it’s possible to manage CSS/HTML customization via API, specifically to fetch/update items in admin/customize/css_html/. Despite trying various methods and API keys, iamntz encounters issues.
sam shares a working curl command and suspects the problem might be with iamntz’s API keys. iamntz provides a full curl sample and reveals that Postman requests that require auth work, but not for site customizations.
sam guesses that the controller might be checking for XHR and suggests adding x-requested-with:XMLHttpRequest to the request. This solution works for iamntz, who thanks sam and marks the issue as solved.
Hey guys, I was wondering if there is a way of managing CSS/HTML customization via API. This means to fetch/update items here: admin/customize/css_html/