Working version for text and GET method