Questions tagged as 'request'

2
answers

Ajax Jquery - Accumulating requests

Good morning everyone, I have a very strange problem with a system I picked up for maintenance. All the requests I make to the server have been building up. For example: - I perform user exclusion 01. It sends the request and deletes the...
asked by 27.10.2015 / 14:19
1
answer

Is there a back-end service that responds to SMS messages?

I'm doing a search on operations that involve back-end communication that uses SMS messages to interact with users. I could not find something relevant on Google that clearly explains how this service works. Anyone know where to start clearly...
asked by 27.03.2015 / 08:00
2
answers

How to perform asynchronous request using JSON?

Scenario, I have a data request using JSON but would like this request to be made outside of the main thread of the app so that it does not crash and that the user can perform other operations while the data is downloaded. In the code below I...
asked by 29.10.2014 / 15:44
1
answer

Laravel - Validate field unique in update

I have an enrollment field in the table that needs to be unique NA MIGRATION Schema::create('professors', function (Blueprint $table) { $table->increments('id'); $table->boolean('inativo')->default(0); $tabl...
asked by 10.05.2018 / 16:17
1
answer

how to convert a string request.Parameter to integer [duplicate]

In a program that I have to do I came up with this difficulty Familia.setSalariodoPai(request.getParameter("salariodoPai")); But this request is returning a String and I would need Integer .obs this snippet is in a servlet doGet     
asked by 13.03.2016 / 06:25
1
answer

On large scrapes how to avoid ConnectionError?

In Python 3, I have a program to do web-scraping of tables on websites. There are 5,299 pages, on each page there is a table With XHR I found the generated JSON on each page. But always have a connection error after the program scour a few pa...
asked by 13.04.2018 / 12:02
1
answer

Is it possible to do HTTP request (POST, GET ...) with android for any domain?

I have a PHP backend with URLs that return data to my front end with Angular. It works normally because they are in the same domain. In the case of an android app that is outside the domain, will I have problems?     
asked by 03.09.2015 / 03:12
1
answer

Use the data of a request in a global variable

I have a difficulty that I'm sure is simple for you! var request = require('request') var a var b request('https://exrates.me/openapi/v1/public/ticker?currency_pair=eth_usd', function (error, response, body) { a = JSON.parse(body) b...
asked by 30.09.2018 / 16:17
2
answers

Error in customizing the default user registry Laravel Auth

Error after registering and redirecting PS: it does the registration normally, and I can access normally, but this error always! I MAKE A MODIFICATION ONLY IN THE USER REGISTRATION, MAKE THE PARAMETERIZATION OF MY MANY TO MANY R...
asked by 08.03.2018 / 13:26
2
answers

Error when picking up JSON elements

Talk to people, blz? I'm having a problem when receiving the JSON response from Ajax, I can not populate all the states in the select. Although it is inside a for it only takes the last element, ie it runs through all states but only stores the...
asked by 27.10.2017 / 21:58