Skip to content

Commit 75c5901

Browse files
authored
Update README.md
1 parent 23ddc07 commit 75c5901

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
```
2828
## Coba API
2929
```
30-
https://x-labs.my.id/api/kbbi/<PARAM>
30+
https://x-labs.my.id/api/kbbi/search/<PARAM>
3131
```
32-
[Coba Sekarang](https://x-labs.my.id/api/kbbi/demo)
32+
[Coba Sekarang](https://x-labs.my.id/api/kbbi/search/demo)
3333

3434
## Cara Instalasi
3535
- Salin atau unduh kode model (Model) dengan nama [KBBIModel.php](https://github.com/dyazincahya/API-KBBI-PHP-Codeigniter-4/blob/main/KBBIModel.php)
@@ -38,12 +38,12 @@ https://x-labs.my.id/api/kbbi/<PARAM>
3838
```php
3939
// KBBI Router : \Config\Routes.php
4040
$routes->get('/api/kbbi', 'ApiKBBI::index');
41-
$routes->get('/api/kbbi/(:any)', 'ApiKBBI::search/$1');
41+
$routes->get('/api/kbbi/search/(:any)', 'ApiKBBI::search/$1');
4242
```
4343

4444
## End Point
4545
- /api/kbbi
46-
- /api/kbbi/```KATA_KUNCI```
46+
- /api/kbbi/search/```KATA_KUNCI```
4747

4848
## Contoh Respon
4949
#### /api/kbbi/bagaimana

0 commit comments

Comments
 (0)