Suljettu

Fixing problem in http POST request

Hello,

I am getting error when I use mobile data. it works fine when I use wifi or when I use computer.

Basically I have to do 1 http post request, and it updates some data to server. but this http request gives some error sometimes but also works smooth sometimes. I don't understand this behaviour.

Anyone able to trouble shoot?

this is the post request below.

$http({

method: 'POST',

url: '../../[login to view URL]',

data: $.param({ 'data': $scope.activity_info }),

headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Cache-Control': 'no-cache, no-store, must-revalidate',

'Pragma': 'no-cache',

'Expires': '0' },

cache: false

}).then(function (resp) {

}, function (error) {

[login to view URL](error);

alert([login to view URL](error));

});

this is the error showing under callback error function.

{

"data":null,

"status":-1,

"config":{

"method":"POST",

"transformRequest":[

null

],

"transformResponse":[

null

],

"jsonpCallbackParam":"callback",

"url":"../../[login to view URL]",

"data":"all data that I pass are returned just",

"headers":{

"Content-Type":"application/x-www-form-urlencoded",

"Cache-Control":"no-cache, no-store, must-revalidate",

"Pragma":"no-cache",

"Expires":"0",

"Accept":"application/json, text/plain, /"

},

"cache":false

},

"statusText":"",

"xhrStatus":"error"

}

Taidot: PHP, JavaScript, Android, AngularJS, AJAX

Tietoa asiakkaasta:
( 2 arvostelua ) Toronto, Canada

Projektin tunnus: #33885226

21 freelanceria on tarjonnut keskimäärin $35 tähän työhön

(171 arvostelua)
7.2
nixtech

Hello Sir Can i fix it for you? I am willing to start right away Please check my profile for work and experience. Regards Hardeep

$35 CAD 1 päivässä
(364 arvostelua)
7.1
maxpl

Hello, Hope you are fine. I am an experienced web and mobile app developer. I have 8+ years of experience in webdesign/development and Mobile D Lisää

$80 CAD 2 päivässä
(39 arvostelua)
6.9
bestphpjobs

Hi I Will Fixing This problem quick I am ready to start right now I have read your project very carefully I have almost done many work like this I am very confident about this job Thank You

$31 CAD 1 päivässä
(239 arvostelua)
6.6
(95 arvostelua)
6.3
rizwange4

Hi There! hope you doing alright. I have read your job description and it matches my expertise. I assure you that I am a perfect fit for this job. Can we do a quick chat right now so that we can discuss the project b Lisää

$20 CAD 2 päivässä
(114 arvostelua)
6.0
arnoldb

Hello, I hope you are doing well. I am an experienced web developer from Poland with over 8 years of experience. I have gone throug Lisää

$80 CAD 2 päivässä
(16 arvostelua)
6.0
(18 arvostelua)
5.6
(48 arvostelua)
5.8
(47 arvostelua)
5.3
ramakrishnapanig

Hi! Thank your posting "Fixing problem in http POST request". i understand your requirement . I have 7+ years of work experience in Ajax, Laravel, Core php and Mysql, codeignitor, custom wordpress plugin development, Lisää

$80 CAD 7 päivässä
(52 arvostelua)
5.2
Anilsingh1992

hi i read details i can fix it within 1 hours .please send a message for more details. thank you..

$20 CAD 1 päivässä
(20 arvostelua)
4.3
giaphung2k1

Hello brother Thanks for giving me the opportunity to discuss your project. We have completed 41 projects. Example: [login to view URL] [login to view URL] https://git Lisää

$25 CAD 7 päivässä
(37 arvostelua)
4.4
ciyrus

This might be an issue in the backend. What is the backend you use. i can check the issue and fix. Do contact me with more info

$30 CAD 7 päivässä
(7 arvostelua)
3.9
amrkhaled32

Hello, I hope you are doing well, how are you? if you are looking for someone who can do the job in a fast and reliable way you are in the right place! I am an expert in python api, I got great experience with modules Lisää

$30 CAD 1 päivässä
(6 arvostelua)
3.9
(11 arvostelua)
3.7
mkastukevich

Hello! Html, Javascript, CSS and Responsive Design is my best skill. I have ever taken part in the below projects. [login to view URL] [login to view URL] [login to view URL] [login to view URL] Lisää

$30 CAD 1 päivässä
(8 arvostelua)
3.5
bigfuzzy

i am sure i can fix your issues for you .... please contact me for details and to discuss.. thank you David Alexander Dorman all rights reserved

$30 CAD 1 päivässä
(1 arvostelu)
2.8
WebLancerDenis

Hello, I am interested in your project. I have experience in Posr requsts, I recently did a similar project. Also I use PHP, MySQL, Python, Linux, Javascript, HTML, CSS. Extensive experience in development on Wordpr Lisää

$20 CAD 7 päivässä
(6 arvostelua)
2.9
sidorvl

Hi, I read your description carefully and I understood fully what to do. If you hire me, I'll give you perfect result on time. Let's discuss more detail via chat. Best regard.

$20 CAD 1 päivässä
(0 arvostelua)
0.0