Solved : Content-Type header [] is not supported ES6