Page 1 of 1

Error: bad html request on mobile device

Posted: Mon Jun 09, 2014 5:22 am
by Dylan Kent

Hello,

I have created a file upload app. The user logs in and then is directed to a file upload page where they can upload a file to the DB.

When I test the app using the app builder on my laptop using google chrome the file uploads successfully but when I test the application using the appery.io iphone app or using the QR code on my iphone 5 i recieve a message saying "Error: Bad HTML request". is there some kind of limitation when testing on mobile. please advise.


Error: bad html request on mobile device

Posted: Mon Jun 09, 2014 2:13 pm
by Evgene Karachevtsev

Hello Dylan

Please clarify, you get this message before application's installation or after you try to run it? Did you export it as .ipa app or do you test it from browsers preview?


Error: bad html request on mobile device

Posted: Mon Jun 09, 2014 2:23 pm
by Dylan Kent

I get this message on the upload file event when clicking my submit button. I did not export the app I am testing via web browser (chrome) and the appery.io mobile app


Error: bad html request on mobile device

Posted: Mon Jun 09, 2014 3:01 pm
by Dylan Kent

I am now logged in so I will give some more details here.

I am using a file input control with a submit button. the click code for the button is the following

uploadMultipleFilesHelper(uploadService, Apperyio('file_input'));

When I test my app on an laptop using chrome the upload functionality works correctly and I see my success javascript message "uploaded successfully" but when I test using the appery.io testing app for IOS i recieve "error: bad html request" after having a file selected and pushing the submit button.

Thanks,


Error: bad html request on mobile device

Posted: Mon Jun 09, 2014 7:26 pm
by Evgene Karachevtsev

Dylan,

Please look are there errors in Weinre: http://devcenter.appery.io/documentat... and clarify iOS versions of the devices on which you test your app.