R
R
recloudor2015-12-06 14:59:47
JavaScript
recloudor, 2015-12-06 14:59:47

Can anyone give an example of sending a file via ajax to js and getting it in golang?

Can someone give an example of sending a file via ajax to js and get it in th?

Without jQuery.

Here's an example you can.

It is working, only there according to the submit principle, I need it without reloading the page.

It doesn’t work out on its own, constantly or the headings are not the same, etc.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-12-06
@frost18

And what if you use an iframe when sending a file, then the page will not reload

V
Vitaly Yakovenko, 2015-12-07
@Xazzzi

You have a ready-made example of the receiving side in Go, and an example for sending a file is here on Stackowerflow .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question