Added support to endpoints with url queries.