Questions tagged as 'request'

3
answers

How does the HTTP protocol process the requests?

HTTP methods are used to send and receive data from the server, such as GET (retrieve data) and POST (send data). Following the above definition to understand very well the purpose of GET and POST , however I have a...
asked by 29.12.2016 / 14:20
2
answers

Using $ _REQUEST instead of $ _GET, $ _POST, and $ _COOKIE

In PHP we have the global variable $_REQUEST that can be used instead of use the global variables $_GET , $_POST and $_COOKIE . For example: <?php // utilizar $bubu = $_REQUEST['bubu']; // ou uma das...
asked by 16.10.2014 / 12:43
2
answers

How to correctly save an image URL in MySQL database?

I'm testing the targeting of images with the URL. But during the tests, the URL was returned with changes as seen below: URL entered in the database: http://www.meusite.com.br/pastaimagem/logos/imageLogo.jpg URL returned by the bank: h...
asked by 23.02.2015 / 21:33
2
answers

Best practice for client to choose response format (JSON / XML)

I would like to know the best coding practice that allows the client to define the response format for the request he made, which can also include filters, conditions, ordering, etc. I made a small template for the answer, I do not know if it...
asked by 16.01.2017 / 14:59
2
answers

Why does steam api refuse calls angular?

I'm simply trying to feed my application with Steam api data. Let's take this example: http://api.steampowered.com/ISteamUserStats/GetGlobalAchievementPercentagesForApp/v0002/?gameid=440&format=xml Paste into the browser and will w...
asked by 31.05.2015 / 23:52
2
answers

Is there a difference between Post and Request?

When I read about request I always get the term post together, and this raises a question. I understand that request serves to make a request for something to the server and then the server sends a response after processing such a reques...
asked by 25.09.2016 / 20:01
1
answer

How to make a POST request in Python?

I would like to know how to make a request POST at this URL , for later get here on this page . Where do I have to spend the year on the div of the unsigned fiscal body.     
asked by 01.04.2015 / 15:33
1
answer

How to use redirect methods with Java Servlets

Hello, I have a server_server.jsp page with a form that when submitted goes to ServletInsertOrderService that inserts the form data into the database. I am trying to cause that when the data is entered, the browser returns to the server_ser...
asked by 09.05.2015 / 17:23
1
answer

Create unique constraint with two fields in Laravel request

I have in the creation migration of my table the following: public function up() { Schema::connection('database2')->create('empresa_funcoes', function(Blueprint $table) { $table->increments('id'); $tab...
asked by 06.10.2016 / 16:49
1
answer

HTTP Request React Native

An API sends a status:false the code gets status . While status==false , the image of exclamation.png and message 'Pedido em Análise' will be rendered. If status changes to true both image values an...
asked by 07.05.2018 / 02:29