Skip to content

Commit c5cfe77

Browse files
committed
Updated Curl example
1 parent 0c53934 commit c5cfe77

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ curl --location 'http://localhost:8080/wolframEvaluationFunction' \
111111
--header 'Content-Type: application/json' \
112112
--header 'command: eval' \
113113
--data '{
114-
"answer": 1,
115-
"response": 1.02,
116-
"params": {
117-
"tolerance": 0.01,
118-
"tolerance_is_absolute": true,
119-
"correct_response_feedback": "Correct!",
120-
"incorrect_response_feedback": "Try again."
121-
}
122-
}
114+
"answer":"Sin[p x + q]",
115+
"response":"Sin[a x + b]",
116+
"params":{
117+
"comparisonType":"structure",
118+
"named_variables":"{x}",
119+
"correct_response_feedback":"Your answer is correct!",
120+
"incorrect_response_feedback":"Your answer is incorrect!"
121+
}
122+
}'
123123
```
124124

125125

0 commit comments

Comments
 (0)