Added attachment endpoint which supports uploading binaries