PUT request works, reading variables works as well