form library, use of rest api