Rest API parameter

I want to use rest api v4_1. i create new rest api follow this link: .I create lead module. new lead module was created but, record value; like first_name, last_name,etc. are not submitted in database. How I can fix this?

Did you build the data array correctly?

Ok I use set_entries method and it’s succeed.

But When I use get_entry_list method like php code below(link), the name_value_list array has not shown. How can I fix this?

how does the array look like that you send?

This is array that I send. How can I Fix that? Thank you for your help.

I analyzed the code and found a bug in the default rest service when using PHP7.
I fixed it and pushed changes to public repository.
Please download and overwrite following files: