This example uses curl. You can use any other means of making http requests. Responses are in JSON format.
- Login to frappe (and store cookies in a jar)
% curl https://demo.frappecloud.com/api/method/login -XPOST \-d "usr=demo%40frappecloud.com&pwd=demo" -c frappe.cookie
{"message":"Logged In","full_name":"Demo User"}
- Request for a Sales Invoice by id (output is piped to json pretty printer(optional))