can someone tell me which requests method should i use if i want to do this in a mysql database.
This is the execute method that i want to do. It works fine locally but i want to make it into an API so i am using the requests method to do that.
texts = message.text.split('@')
produk_id = texts[1]
id_pembeli = texts[2]
sql.execute("SELECT p.* , b.* , t.* FROM produk p, pembeli b, transaksi t WHERE p.produk_id='{produk_id}' AND b.pembeli_id='{pembeli_id}' AND t.pembeli_id='{pembeli_id}'".format(produk_id=str(produk_id), pembeli_id=str(id_pembeli)))
hasil_sql = sql.fetchall()
So the code above will first get the input that the user inputted(produk_id and pembeli_id) and then i want to select 3 table where the produk_id and pembeli_id. So which requests method should i use?