POST vs PUT route and get content

Hi,

I have two routes: one use "POST" the other use "PUT".
In the corresponding controller for the "POST" route, I can get the request body / content with: $request->getContent().

Buuuut for the "PUT" route I try the same eg. $request->getContent() and it always return null.

I have tried a bunch of things, what could I be missing ?

Regards J

Belgische Bank: transparent, agile collaboration

A Belgian Bank

This Belgian bank focuses on consumer credit and financial services for SMEs. The team wanted to expand on its customer-centric vision on digital banking and build a complete digital experience - in a flexible and agile way.

Sectors: 
Banking and Financial

Integrate SMTP and recaptcha modules with key module

I am trying to make key module working with recaptcha and SMTP modules as I see in the video tutorial.

Synergie: decoupled CMS

Synergie matches employers and candidates to find the perfect candidate for every job opening. As an established HR partner, Synergie’s approach consists of value creation through long-term relationships with its clients, candidates and employees. Human capital is evidently a key focus. Investment in digital presence has been a catalyst in the company’s growth over the past six years.

Sectors: 
Real Estate

only tekst

See https://drupp.kampautolease.nl 

Where is my site? I see only text..
 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x