when you attempt to save the http monitor configuration, a warning message may appear as
value may not contain literal newline characters
even though you might have entered correct syntax in the string.
This is actually a bug SOL14162 explained with a work around solution, you need create the http monitor via tmsh. However we found a simple solution, all you need to do is zoom out your browser view and make sure string appears in single line, then save your changes. You should able to save without an error.