HI,
When i had create my dataSource i indicated that is a REST with Basic Auth.After validate all steps of creating, i had a new page's named xx-rest-basic-auth-login on the pages menu. But this page is not valide ! What i make wrong ?
What it's the good way to create and exploit REST Api with a Basic Auth?
here the json code
{
"access": "Everybody",
"components": [
{
"allowRegister": false,
"col": 12,
"events": {
"login": [
{
"code": "sessionStorage['KA_REST_BASIC_TOKEN'] = Buffer.from(event.username + ':' + event.password).toString('base64')",
"type": "execute"
},
{
"path": "/",
"type": "navigate"
}
],
"register": []
},
"name": "login0",
"row": 0,
"type": "login"
}
],
"events": {
"load": []
},
"name": "kaRest Basic Auth Login"
}
Thx
Eric