fapi/v1/batchOrders returns 400 Bad Request

Raw request:

POST https://fapi.binance.com/fapi/v1/batchOrders?batchOrders=[{"symbol":"ENAUSDT","side":"BUY","type":"LIMIT","timeInForce":"GTC","newClientOrderId":"x-yHjDKm8hd18af227-73c5-428f-9a7","newOrderRespType":"RESULT","quantity":"100","price":"1"}]&timestamp=1712164896689&recvWindow=60000&signature=9E2764F79EAF7E8A86ADBE102F9B8D3.... HTTP/1.1
Host: fapi.binance.com
Accept-Encoding: gzip, deflate
X-MBX-APIKEY: DIWN5VFdGx6bL41TZgS32WttCa.....
Content-Length: 0

Solved. The url should be encoded.

P.S. previously it should not, because I found old code that prevent url encoding exclusively for batchOrders endpoint