From c5cfe77ccf92b8ea4f59a47b647e7892f5a56da4 Mon Sep 17 00:00:00 2001 From: Marcus Messer Date: Thu, 14 Aug 2025 11:32:32 +0100 Subject: [PATCH] Updated Curl example --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 13e7a38..fdaf9af 100644 --- a/README.md +++ b/README.md @@ -111,15 +111,15 @@ curl --location 'http://localhost:8080/wolframEvaluationFunction' \ --header 'Content-Type: application/json' \ --header 'command: eval' \ --data '{ - "answer": 1, - "response": 1.02, - "params": { - "tolerance": 0.01, - "tolerance_is_absolute": true, - "correct_response_feedback": "Correct!", - "incorrect_response_feedback": "Try again." - } -} + "answer":"Sin[p x + q]", + "response":"Sin[a x + b]", + "params":{ + "comparisonType":"structure", + "named_variables":"{x}", + "correct_response_feedback":"Your answer is correct!", + "incorrect_response_feedback":"Your answer is incorrect!" + } +}' ```