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

Questions about programming?Chat with your personal AI assistant