Category: Utility Classes

Http Client: Failed to open stream: HTTP request failed!

I want to post data to an local API written by Node.js:In Cake's controller:$http = new Client(); $response = $http->post('http://localhost:3000/api/generate', [   'title' => 'This i

SOLVED #http #fopen
3 Answers
Ksmacky
Ksmacky

30