Dylan Kent
Posts: 0
Joined: Tue May 20, 2014 3:19 pm

Error: bad html request on mobile device

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Error: bad html request on mobile device

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?

Dylan Kent
Posts: 0
Joined: Tue May 20, 2014 3:19 pm

Error: bad html request on mobile device

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

Dylan Kent
Posts: 0
Joined: Tue May 20, 2014 3:19 pm

Error: bad html request on mobile device

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,

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Error: bad html request on mobile device

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.

Return to “Issues”