The url must start with settings.baseUrl. The init settings are
merged with settings.init, with init taking precedence.
The headers in the two objects are not merged.
If there is no body data, we set the content type to application/json
because it is required by the Notebook server.
Make an request to the notebook server.
Throws
If the url of the request is not a notebook server url.
Notes
The
url
must start withsettings.baseUrl
. Theinit
settings are merged withsettings.init
, withinit
taking precedence. The headers in the two objects are not merged. If there is no body data, we set the content type toapplication/json
because it is required by the Notebook server.