Home > other >  Newcomer consult, socket communication sends a BASE64 encoded characters, why doesn't the desir
Newcomer consult, socket communication sends a BASE64 encoded characters, why doesn't the desir

Time:10-22

I use a socket connection is established, the request is a post request, post request is a string and a picture, after BASE64 encoding a string, and then I use a special contract software to send the request, return the result is correct; I written in the socket send request of software to send HTTP requests and contracted out with special software to send HTTP requests the same, be submitted to the 500 error, I've tested before writing your own software, as long as does not involve BASE64 encoding can be successful, have experienced a great god give some advice?

CodePudding user response:

500 error, generally is the server cannot resolve the client's request code,
Contract content exactly the same words does not necessarily can become, because the network to send and receive are of a certain state, suggested that specialized contract complete simulation software process
  • Related