laravel / telescope

An elegant debug assistant for the Laravel framework.
https://laravel.com/docs/telescope
MIT License
4.83k stars 576 forks source link

Soap Request and Response are empty in client-requests Payload and response #1520

Open GaneshKandu opened 4 days ago

GaneshKandu commented 4 days ago

Telescope Version

^5.0

Laravel Version

^10.8

PHP Version

8.2.0

Database Driver & Version

No response

Description

I am making this soap request, its successful but i am getting empty data in poyload and response

Payload section

[
]

Response section

HTML Response

My php code

        $response = Http::withHeaders([
            'Content-Type' => 'application/xml',
            'Ocp-Apim-Subscription-Key' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        ])
        ->withBody(
            view('rgi.asia.quote',compact(
                'travel_start_date',
                'travel_end_date'
            ))->render()
            ,'text/xml'
        )
        ->post('http://domain.com/api')->body();

               dd($response);

Please check and fix

Steps To Reproduce

install laravel install telescope write code for soap request make soap request check request and response in your soap

github-actions[bot] commented 4 days ago

Thank you for reporting this issue!

As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.

If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.

Thank you!