editor-js/link

how can I get the link fields on backend?

mypetertw opened this issue · 3 comments

when I post link with endpoint, how can I get the link fields on backend? (PHP)
i means "methods"

I found that the request is made like this:
https://localhost:8080/endpoint?url=<encoded-url>

so it is a query parameter:
In express:

app.get('/endpoint', (req, res) => {
  const urlToFetch = req.query.url;
  //Do your logic and send data
})

hello, please i'm having trouble the "" data

If the question is still relevant, open the new issue.