write(str_replace('failed', 'successfully works!', $response->getBody()), true); } }