Home > Back-end >  How to the specified port receive others post over the json data and return.
How to the specified port receive others post over the json data and return.

Time:04-28

Needs to receive a json string, others post to come over after I need to receive, to give him back after I deal with data.

Is to do an interface or webserice or use a socket to listen on port?


Basic knowledge is bad. Still hope the great god glad.

CodePudding user response:

Your words are spelt wrong first webservice
Second, the scene is what you want, send over the data real-time processing each other, and then returned?
If so, under the premise of ensure correct request address, an interface can be simple to implement,
Still need to confirm your good data format and docking personnel!

CodePudding user response:

reference 1st floor tonight where wine response:
first of all, your words are spelt wrong webservice
Second, the scene is what you want, send over the data real-time processing each other, and then returned?
If so, under the premise of ensure correct request address, an interface can be simple to implement,
Still need to confirm your good data format and docking personnel!

Hello. Thank you for your reply.
Please use interface to define? Whether this way can be packaged in the specified port after listening? Such as the designated port 8081.
  • Related