Hi!
After installing juji client, I tried to start a chat session through by typing in the terminal:
juji chat -f John https://juji.ai/pre-chat/mycorp-962c7a5/2
But i get an error:
statusCode: 403,
error: ‘
Invalid anti-forgery token
’,options: {
method: ‘POST’,
url: ‘https://juji.ai/pre-chat/mycorp-962c7a5/2’,
formData: { firstName: ‘John’ },
callback: [Function: RP$callback],
transform: undefined,
simple: true,
resolveWithFullResponse: false,
transform2xxOnly: false
},
Please, should this error occurs? Is there anything I’m missing?
Do I need my own deploy to start a chat session via terminal, or is there any chat session available publicly throught terminal?
And finally, one more question… to make post/get requests using an external app, do I need a deploy? Because I would like to test my code using a preexistent chatbot, and later, do my own Juji chatbot and deploy it to use in this external app
Thanks!