POST parameters strangely parsed inside phantomjs
- by user61629
I am working with PHP/CURL and would like to send POST data to my phantomjs script, by setting the postfields array below:
In my php controller I have:
$data=array('first' => 'John', 'last' => 'Smith');
$url='http://localhost:7788/';
$output = $this->my_model->get_data($url,$data);
In my php model I have:
public function…