Support the ongoing development of Laravel.io →
posted 10 years ago
Requests

Howzit guys

I have created a webservice that recieves a XML POST. Problem is that when i use a poster from my chrome browser (advanced rest client) and set the content type to "application/xml" then the $input = Request::all(); is empty but when i set the content type to "application/x-www-form-urlencoded" then the values are being parsed correctly. Please help as i need to be able to send XML to the webservice.

Regards

Last updated 3 years ago.
0

From the looks of Illuminate/Http/Request::getInputSource I don't think xml is even on the radar, just form encoded and json

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.