Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
vue dropzone send json data format is trouble #152
I use vdropzone-sending ,and use JSON.stringify, send to json data to php
but data become string, then php is can not load..
it is this string json
How can I do? Please tell me. Thanks
Thank your reply~! @rowanwins
I has try json_decode , but is error message..
I think put json data into html form input is not work..
so the error you were getting said json_decode expects an string but you passed an array, are you sure you passed in a string?
Perhaps trying something like a gettype() to check what
It may be that you need to do something like