0
Can you show me some example of JavaScript request to the server from front-end side?
Is that synonym with AJAX?
2 Respostas
+ 2
Here an example
https://code.sololearn.com/WarDRMf6rJW3/?ref=app
Please note that front end JavaScript normally cannot fetch other domain api unless the endpoint has cors header for all sites * or specified your domain host.
0
So that means the first then() function gives the return data to the second then() ?
anyway, thanks for the example!