send data inside brackets

makes the 500 error not appear the first time it’s clicked