media endpoint post working, and image serve