Z
Z
Zhalgas Saparov2019-08-23 12:08:16
JavaScript
Zhalgas Saparov, 2019-08-23 12:08:16

How to fix ReferenceError: func is not defined on js (Vue)?

I can't send a "post" request to get data from the database
5d5fac77c5b8e913705573.png
fixed with jsonp, but it gives the following error,
5d5facc21569e937193775.png
how can I fix it?
Is the problem on the front side or the back side?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mrFlyer, 2019-08-23
@mrFlyer

You need to dig towards CORS.
The server you are accessing must allow requests from external domains. And the software that makes such requests must pass the appropriate data for CORS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question