We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4492d6c commit 50b4270Copy full SHA for 50b4270
README.md
@@ -43,12 +43,8 @@ The web service can be consumed as follows:
43
```bash
44
curl --request POST \
45
--url https://numero.vivekn.dev/api/v1/eval \
46
- --data '{
47
- "expression": "x + sin(max(2, 333))",
48
- "variables": {
49
- "x": 100
50
- }
51
-}'
+ --header "Content-Type: application/json" \
+ --data '{"expression":"x + sin(max(2, 333))","variables":{"x":100}}'
52
```
53
54
## documentation
docs/numero/eval.bru
@@ -14,7 +14,7 @@ body:json {
14
{
15
"expression": "x + sin(max(2, 333))",
16
"variables": {
17
- "y": 100
+ "x": 100
18
}
19
20
0 commit comments