Some Extra text is being added inside the file while sending it to server using http call activity

These lines are added by the HTTP activity I think.
Try removing the content type in the 1st call and see if the line is not there in the text file after sending.
Let me know how it goes.