I try to get data with libcurl in PHP and my query, value in query, contains query brackets
?conditions[prs_id]=7&conditions[date]=[2019-03-26 TO 2019-04-03]&page=1&limit=1
When I send this with Postman I get object, but with curl i get error 400 which says this is bad request. but with
?conditions[prs_id]=7&conditions[date]=2019-03-26
I get answer and requested objects.
So The problem is with value with brackets [2019-03-26 TO 2019-04-03]
I tried with url encoding, changing brackets to url codes but it won't worked.
How to properly send this with libcurl in PHP? in Postman works