Possible solution to the problem of sending headers

Modified options.data and options.headers data with new options