My Curl Command is,
curl -X POST "https://myTestServer/knox/api/v1/files" -H "accept: application/json" -H "authorization: Basic YTM1MjM0ODpQYXNz