Closed jiripudil closed 3 years ago
As suggested in #311,
naja.makeRequest(method, url, ['some', 'data'])
should produce the body/query string of 0=some&1=data, as it is correctly parsed by PHP/Nette into an expected list of ['some', 'data'].
0=some&1=data
['some', 'data']
It should be an easy task:
I believe all it takes is an isArray condition here, plus tests.
isArray
As suggested in #311,
should produce the body/query string of
0=some&1=data
, as it is correctly parsed by PHP/Nette into an expected list of['some', 'data']
.It should be an easy task: