bcosca / fatfree

A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!
2.66k stars 446 forks source link

Form data are not being parsed on patch #1264

Closed DaliborTrampota closed 1 year ago

DaliborTrampota commented 1 year ago

Hello,

after sending a patch request and getting 'PATCH' variable from f3, it is null, 'BODY' contains all the boundaries but thats unusable. How can I parse the BODY into an array/object? And is there a reason why it is not parsed automatically?

Thanks

ikkez commented 1 year ago

Send the PATCH request as application/json and you'll be fine. Please use google board or find help in slack / matrix next time before opening an issue. thank you.