Issue with HTTP Feature Testing |
Alright i found an aswer for my own question. I think it has to do with
Quote:The $params array does not make sense for every HTTP verb, but is included for consistency. as written in the manual that not all request types support $params. Maybe GET is one of them. But for sake of consistency i wrote my own tiny solution to request endpoints in testing: PHP Code: /** What helped alot is that CodeIgniter actually got my request by: PHP Code: $this->request->getBody(); Hope this helps someone! |
Messages In This Thread |
Issue with HTTP Feature Testing - by stopz - 05-26-2021, 11:14 AM
RE: Issue with HTTP Feature Testing - by stopz - 05-27-2021, 03:40 AM
RE: Issue with HTTP Feature Testing - by MGatner - 05-27-2021, 08:00 AM
|