Skip to content

Instantly share code, notes, and snippets.

@blogcacanid
Created June 27, 2020 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blogcacanid/f032752f36fec424a7480108ab5974a5 to your computer and use it in GitHub Desktop.
Save blogcacanid/f032752f36fec424a7480108ab5974a5 to your computer and use it in GitHub Desktop.
web.php Cek Ongkos Kirim Dengan RajaOngkir Laravel 7
Route::get('ongkir','OngkirController@index');
Route::post('cek-ongkir', ['uses'=>'OngkirController@cek_ongkir', 'as'=>'cek.ongkir']);
Route::get('get-kota/{q?}', ['uses'=>'KotaController@get_kota', 'as'=>'get.kota']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment