Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
Changes to Default Content-Type Header of RESTlet HTTP Responses
This notice applies to NetSuite accounts with one or more RESTlet scripts that return HTML content. This notification is to inform you that the behavior of these scripts is targeted to change as of September 30, 2024.
What is Changing?
Currently, any RESTlet script that returns HTML content is determined by the Content-Type header in the HTTP request. If the Content-Type header of the HTTP request has a value, the value gets passed to the HTTP response. If there is no Content-Type header defined in the HTTP request, the default value of the HTTP response Content-Type header is HTML (or text/html).
Regards,
@Robert Nedelkow-Oracle | NetSuite Support Community Administrator
Earn Community badges now! Refer a Member | Answer Accepter