hi all, i have a question, i'm trying to build an extension that allow people to send feedback on the fly, and i need to use an api endpoint.
can someone give me some tips?
basically i have:
const options = {
id: 'myid', // id to identify the form on the backend
endpoint: 'https://example.com/feedback', // enpoint of backend to handle the submission
}
what should i do to use flarum api? can someone show some example?