Answer the question
In order to leave comments, you need to log in
What type of data exchange between servers do you use?
Good afternoon.
Guys, a specific task appeared and the question arose - which option for data exchange is better in this case.
Briefly about the situation: there is a service whose task is to receive data from another site / server.
The sequence of actions is:
The server-client sends a request to the server-handler via php.
The processing server receives data, writes it to the database, answers the client that everything is good and then starts the processing process.
We are arguing with the whole office here - someone is for JSON, who is for SOAP, who is for cUrl, etc.
My question is what - which method would you choose if you relied on an indefinite size of input data + on the speed of processing and response.
Yes, in general, who thinks it is more correct?
Answer the question
In order to leave comments, you need to log in
We washed down 3 options quickly and test, and then you will choose what is better and more convenient for you.
Strange you choose from hot, soft and green...
JSON is a
SOAP format is a protocol
cUrl is a software (library)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question