Getting 500Error when .dat file is uploaded

Getting 500 server Error when .dat file is uploaded in a Post request.

This is the Post request where .dat file is being send

below is the content of .dat file

Please let me know if I can send the .dat file like above.

Please Help…!

Have you specified a content-type header?
Have you checked the server logs for the cause of the 500 error?