Method description:
Complete the request to send.
If any part of the request body is not sent, it will be refreshed to the stream.
If a data value is specified, a request.write(data, encoding) will be executed after request.end() is executed.
grammar:
The code copy is as follows:
request.end([data], [encoding])
Receive parameters:
data The data value output after the request is completed
encoding data worth character encoding