Sending text term to the server side -> now api for search by text will receive data