Example with post data
haffoudhi opened this issue · 2 comments
haffoudhi commented
Hey,
I m new to amphp/parallel, I can't find an example of Worker\enqueueCallable with post data, instead of file_get_contents url.
I need to send data to url and receive the response. I m sending a lot of data, so GET is not a solution.
Can you share an example of post data, preferably with amphp/http-client?
kelunik commented
You have already discovered the correct library to use: amphp/http-client. You can find such examples in its repository in the examples directory.
haffoudhi commented
Thanks!