Questions tagged as 'http'

2
answers

What is the difference between 301 and 302 redirection?

I would like to know the difference between these two types of redirection code: 301 and 302. I noticed that they are called in the Google Webmaster Tools of Permanent redirect and Temporary redirect , respectively 301 and 302...
asked by 17.01.2017 / 20:10
2
answers

Is there a limit on the size of the data transmitted via POST?

I submitted a form via GET with a large number of text (about 6,000 characters) and received a very long URL error. I did the same test via POST and the data was sent successfully. My question is whether there is a data limit to be transmi...
asked by 11.07.2017 / 06:05
2
answers

$ http.get with Angular JS

Looking for data from an api through $ http.get, but I find an error. My request within a service: app.service('pessoas',function($http){ this.getHumanos = function(callback){ $http.get('http://private-ff1c4-grupo.apiary-mo...
asked by 24.11.2015 / 14:30
1
answer

How to reduce the size of a variable passed via POST by compressing it

My application in Android gets the String sends to the arquivo.php that processes the data. I soon saw that I could not pass the code in base64 to arquivo.php . I need some function in java that compre...
asked by 17.06.2015 / 20:34
2
answers

What is the difference between Webhooks and a REST API?

In API REST we define a resource to receive data and then return some response. And to send a message to a webhook , we make a request and also receive a response (depending on the case). Do both do the same thing? So what's the d...
asked by 27.04.2017 / 05:14
1
answer

Login on facebook with python

I would like, for educational reasons, to log into facebook with a python script. I tried the requests import requests s = requests.Session() post_url = 'https://www.facebook.com/login.php?login_attempt=1&lwv=110' headers = {"User-agen...
asked by 26.07.2016 / 21:51
1
answer

How to detect the cause of the error: 'The requested URL returned error: 503'?

I'm working on developing a web-site where I get back the following error that I can see through Firebug :    The requested URL returned error: 503 Is there any way to find out the source of this problem, perhaps through logs or somethin...
asked by 31.12.2013 / 17:16
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

Make a sub-domain or create a sub-folder?

Today an SSL certificate vendor informed me that my site.com.br/intranet is not secure, that the correct would be intranet.site.com.br is this true? Does it make any difference to a sub-domain instead of a sub-folder?     
asked by 22.06.2015 / 20:56
1
answer

How to get around the page expiration?

My problem is this: The user logs in, the data is sent to the requests page (which lists all of the person's requests in summary form). This page verifies if the login is valid. If it is, the rest of the page is displayed, if not, it returns...
asked by 14.02.2014 / 13:29