generate functionMon, 27 Feb 2023

get response json from HTTParty post request

def get_response(url, payload) HTTParty.post(url, body: payload).parsed_response end

Questions about programming?Chat with your personal AI assistant