Process attachment
http handler for create attachment