@extends('admin.layouts.main') @section('title', 'API Log #' . $apiLog->id) @section('menu', 'Logs') @section('content')
| ID | {{ $apiLog->id }} |
|---|---|
| Service | {{ ucfirst($apiLog->service) }} |
| Method | {{ $apiLog->method }} |
| HTTP Status | @if($apiLog->http_status){{ $apiLog->http_status }}@else - @endif |
| Response Time | {{ $apiLog->response_time ? number_format($apiLog->response_time, 2) . 'ms' : '-' }} |
| Status | {{ ucfirst($apiLog->status) }} |
| Date | {{ $apiLog->created_at->format('M d, Y H:i:s') }} |
{{ $apiLog->url }}
{{ json_encode($apiLog->request_data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) }}
@else
No request data
@endif{{ $displayBody }}
@else
No response body
@endif