You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I m just stuck when i use the service worker using a POST request with a formData (jquery) to send a simple file to the java backend.
It seems the return req.text(); of the body file (with all the boudary wrapper etc...) is modified (or corrupted) because on the backend the Multipart REST catch the file but can not make anything with it .
I try to test req.formData() insteadOf req.text() but nothing relevant.
Without using the service worker, (meaning no service worker on browser) everything work.
So the $ajax post is valid, and Rest WS too.
Maybe someone could help please ?
Feel free to comment any idea :-)
The text was updated successfully, but these errors were encountered:
Hi
I m just stuck when i use the service worker using a POST request with a formData (jquery) to send a simple file to the java backend.
It seems the
return req.text();
of the body file (with all the boudary wrapper etc...) is modified (or corrupted) because on the backend the Multipart REST catch the file but can not make anything with it .I try to test req.formData() insteadOf req.text() but nothing relevant.
Without using the service worker, (meaning no service worker on browser) everything work.
So the $ajax post is valid, and Rest WS too.
Maybe someone could help please ?
Feel free to comment any idea :-)
The text was updated successfully, but these errors were encountered: