Problems with Json syntaxe at HTTP

Hello to all. I using HTTP requests to control the appium server. After reading the documentation, I do not understand how I should use “” or ‘’ or something else . I saw at cmd appium the request like[[SESSION_ID]]/elements POST DATA : {“using” : “id”,“value” : “myidappelement”} . That working OK . But when i want use it and send next request with parameters =>
URL :[[SESSION_ID]]/touch/down
POST DATA : {“x” : “48”,“y” : “1032”}
i had error
“message”:“org.json.JSONException: No value for params” .
Please if anyone can add examples to Appium API documentation in HTTP EXAMPLES . PLEASE
Thank you!

1 Like