PHP HTTP build query without array notation
For an extern (Django) API we need to pass our GET query data to them as follow: ?products=Product1&products=Product2 So as you can see they use different encoding for arrays than the PHP inbuilt http_build_query(['Product1', 'Product2']) => ?products[]=Product1&products[]=Product2 Is there a…