We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afb5b90 commit afab142Copy full SHA for afab142
src/jsx/import/input-data/supply_predictors.jsx
@@ -90,7 +90,8 @@ var SupplyPredictors = React.createClass({
90
var ajaxData = {'session_id': this.props.selectedModelId};
91
var ajaxArguments = {
92
'endpoint': ajaxEndpoint,
93
- 'data': ajaxData
+ 'data': JSON.stringify(ajaxData),
94
+ 'contentType': 'application/json'
95
};
96
97
// asynchronous callback: ajax 'done' promise
0 commit comments