pest-plugin-stressless icon indicating copy to clipboard operation
pest-plugin-stressless copied to clipboard

Add application/json content type header

Open Sladix opened this issue 1 year ago • 4 comments

As per the the documentation we should specify the application/json content type header.

Sladix avatar Feb 22 '24 14:02 Sladix

Good job, It’s indeed necessary to add the ‘application/json’ content type header. For example, in the framework I use (Hyperf), only when the Content-Type header value is correctly set to ‘application/json’ can the JSON data in the request body be accessed and retrieved through the input(string key,key,default = null) method.

SparkLee avatar Mar 15 '24 15:03 SparkLee

@nunomaduro @nahime0 Could u merge this pr please, I really need it.

SparkLee avatar Mar 15 '24 15:03 SparkLee

Let's wait @nunomaduro on this. For me it's fine to merge it.

nahime0 avatar Mar 15 '24 16:03 nahime0

Hello everyone, I’m wondering if there are any updates on when this PR might be merged?

ihorchepurnyi avatar Nov 22 '24 15:11 ihorchepurnyi