php-nlp-client icon indicating copy to clipboard operation
php-nlp-client copied to clipboard

Using curl to initiate request

Open ibnsultan opened this issue 2 years ago • 0 comments

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.

ibnsultan avatar Nov 09 '22 09:11 ibnsultan