Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To use Form.io first we have to create an account next create a project, setup it, and create a form.

How to use the Form.io API to validate a form.

  1. We have to login

    Code Block
    endpoint: https://formio.form.io/user/login
    header: content-type : application/json
    body  : 
    {
        "data": {
            "email": "{{email}}",
            "password": "{{password}}"
        }
    }

From the response’s header get the x-jwt-token and save it in a variable if you are using POSTMAN and from the body of response you will find login info about the user and list project .

...