Add debug logs to request helper
Url encoding of search parameters