Making post and retreiving key