php-nlp-client
php-nlp-client copied to clipboard
Using curl to initiate request
Hello, I've seen that file_get_content()
in the function post_call
and get_call
is used to stream requests between the client and the NlpServer, wouldn't it be better if instead of using file_get_content()
to use curl in its place to send and receive requests because file_get_content()
might be a bit problematic when it comes to cross-server requests.