space clean
GET changed to POST, check dir exists