fixed post method
This commit is contained in:
		@@ -66,7 +66,8 @@ abstract class WebReader {
 | 
				
			|||||||
		$request->getOptions()
 | 
							$request->getOptions()
 | 
				
			||||||
		        ->set(CURLOPT_POST, true); // post method
 | 
							        ->set(CURLOPT_POST, true); // post method
 | 
				
			||||||
		if ($content) {
 | 
							if ($content) {
 | 
				
			||||||
			$request->set(CURLOPT_POSTFIELDS, $content); // post content field
 | 
								$request->getOptions()
 | 
				
			||||||
 | 
								        ->set(CURLOPT_POSTFIELDS, $content); // post content field
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		$response = $request->send();
 | 
							$response = $request->send();
 | 
				
			||||||
		if (!is_null($function)) {
 | 
							if (!is_null($function)) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user