Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $url = 'https://webservice.jogjakota.go.id/ws_pbb/index.php/univ-inquiry';
- $requestHeader = [
- 'Content-Type' => 'application/x-www-form-urlencoded',
- ];
- $requestBody = [
- 'token' => '22c56057e3e970a41c7027d6596ea5c8',
- 'nop' => '347101000100100130',
- 'tahun' => '2014',
- 'kdbank' => '10122601',
- ];
- $responseJson = CurlHelper::post($url, $requestHeader, $requestBody);
- $response = json_decode($responseJson, true);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement