web64 / php-nlp-client

PHP Client for NLP Server
MIT License
74 stars 13 forks source link

Using curl to initiate request #3

Open ibnsultan opened 1 year ago

ibnsultan commented 1 year ago

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.