Welcome Guest, Not a member yet? Register   Sign In
dose ci4 parse x-www-form-urlencoded
#1

i was wondering why   ci4 got error when i use x-www-form-urlencoded  form
is supporrted by ci4 or not ?!!!!!!
Enlightenment  Is  Freedom
Reply
#2

MDN Web docs:

application/x-www-form-urlencoded: the keys and values are encoded in key-value tuples separated by '&', with a '=' between the key
and the value. Non-alphanumeric characters in both keys and values are percent encoded: this is the reason why this type is not suitable
to use with binary data (use multipart/form-data instead)
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

I know i have two options json or form data, i was testing with post man find out x-www-form not worjing on ci4
Thats all of it
Enlightenment  Is  Freedom
Reply
#4

If you have a choice I would op for json data.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

I developed massive back end api with ci4 using of all capbalities ci4 like a modle entity seeder migration controller service enum... and so on which work on formdata and json input but never used x-www_form

it dont need x_www_form
Enlightenment  Is  Freedom
Reply




Theme © iAndrew 2016 - Forum software by © MyBB