https://github.com/sejator/api-cekresi
Contoh implementasi curl request Codeigniter 4 untuk mengecek no resi
https://github.com/sejator/api-cekresi
codeigniter4 curlphp
Last synced: 12 months ago
JSON representation
Contoh implementasi curl request Codeigniter 4 untuk mengecek no resi
- Host: GitHub
- URL: https://github.com/sejator/api-cekresi
- Owner: sejator
- License: mit
- Created: 2022-10-17T12:05:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-24T02:16:07.000Z (over 3 years ago)
- Last Synced: 2025-01-11T15:25:14.868Z (about 1 year ago)
- Topics: codeigniter4, curlphp
- Language: PHP
- Homepage: https://api-cekresi.herokuapp.com/tracking?kurir=jne&resi=8825112045716759
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# API Cek Resi
Contoh Implementasi Curl Request Codeigniter 4 Untuk Mengecek No Resi.
## Persyaratan
- Semua persyaratan mengacu ke dokumentasi codeigniter 4. [Dokumentasi](https://codeigniter.com/user_guide/intro/requirements.html)
- Membutuhkan library HTML DOM Parser. [Dokumentasi](https://github.com/paquettg/php-html-parser/blob/master/README.md)
## Cara Install
- Download project ini. `git clone https://github.com/sejator/api-cekresi.git`
- Masuk ke direktori `cd api-cekresi`
- Jalankan `composer update` untuk mendownload dependensinya.
- Running aplikasi `php spark serve` kemudian buka urlnya `http://localhost:8080/`
- Opsional untuk development buat file `.env` dengan perintah `php spark key:generate` kemudian edit bagian `#CI_ENVIRONMENT = production` menjadi `CI_ENVIRONMENT = development`
## Endpoint
Ganti parameter resi untuk melacak detail no resi.
`http://localhost:8080/tracking?kurir=jne&resi=8825112045716759`