Thank you man, save my day!

On 12 nov, 01:58, Sam Coughlin <[EMAIL PROTECTED]> wrote:
> Hi, Sam again here.
>
> Just thought I'd let everyone know I had to change the headers to be
> content type HTML and it worked fine.
>
> On Nov 12, 4:02 pm, Sam Coughlin <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Mike, thanks for the reply.
>
> > It's sending it as "application/json" at the moment. I will try
> > sending it as text/plain and get back to you.
>
> > On Nov 12, 3:57 pm, Mike Alsup <[EMAIL PROTECTED]> wrote:
>
> > > > I have made a basic test case with a few text inputs and it works
> > > > perfect with just them.
>
> > > > However if I add a file input to them the json object is sent to the
> > > > browser as a file download and the success method is never hit.
>
> > > Is this happening on all browsers?  What is the mime type of the
> > > response?  Try setting it to text/plain.
>
> > > Mike- Ocultar texto entre aspas -
>
> - Mostrar texto entre aspas -

Reply via email to