generate functionMon, 27 Feb 2023

get response json from VerstkaClient post request

def get_json(link, email, password) @client.post(link, { email: email, password: password }) j = JSON.parse(@client.response.body) return j end

Want to kickstart your project?Use the new AI Studio to create your code