Commit 7cb34f95 by Aan Choesni Herlingga

s.unesa.ac.id -> unesa.me

parent c9be449c
...@@ -102,7 +102,7 @@ class PostController extends Controller ...@@ -102,7 +102,7 @@ class PostController extends Controller
public function shorterUrl($long_url) public function shorterUrl($long_url)
{ {
$client = new Client(); $client = new Client();
$URI = 'http://s.unesa.ac.id/create.php'; $URI = 'http://unesa.me/create.php';
$params['form_params'] = ['token' => env('TOKEN_URL', 'forge'), 'url_value' => $long_url]; $params['form_params'] = ['token' => env('TOKEN_URL', 'forge'), 'url_value' => $long_url];
$response = $client->post($URI, $params); $response = $client->post($URI, $params);
$responseJson = json_decode($response->getBody(), true); $responseJson = json_decode($response->getBody(), true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment