R
R
Roman2017-09-06 23:41:41
Web development
Roman, 2017-09-06 23:41:41

Sending an ajax file?

I welcome everyone! Need help.
There is a picture on the server that needs to be sent to the specified url using the POST method via ajax.
The examples that I found on the Internet were with input tags.
So is it possible to send a file without using the file upload form?
Is it possible to simply pass a variable with the path to the file in the request?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question