Questions tagged as 'http'

1
answer

Send parameters via post json android

   I need to send the string username via post after the button1 is clicked, my code has no error in the monitor, it simply does not send anything to the bank ... This is my code: public class PostTeste extends AppCompatActivity { priva...
asked by 11.05.2017 / 21:50
0
answers

Authentication Login Android

The app I developed for a client is composed of a native login screen and I need to login authentication by sending the access data (user and password) to the client's store URL, valid, then open for him a WebView containing this ASP store with...
asked by 08.03.2017 / 03:30
1
answer

Pass array as parameter for web api in php with angularjs

In my local environment I use PHP7 and developed API Restful for an application that uses AngujarJS. I needed to do a get request for Api and pass an array as a parameter and I did it that way $http.get("/Api/MinhaUrl.php", { params: {...
asked by 17.02.2017 / 14:37
1
answer

Extract data from HTTP Auth with PHP

I want to access a URL from my site as follows: http://username:[email protected] How do I, with PHP, receive the Username and Password data without using cURL? Is there a possibility?     
asked by 06.02.2017 / 16:56
1
answer

http post with BodyRequest Sqlserver

Hello, how do I get a post request passing an xml as date? I tried it on another GET request and it worked: DECLARE @Tabela TABLE ( CampoXML XML); DECLARE @URL VARCHAR(8000) SELECT @URL = 'url?parametros=' DEC...
asked by 02.02.2017 / 13:00
0
answers

I use HTTPS and I only want a URL with HTTP with Nginx

I have a site set up on an Nginx server to force HTTPS for the whole site, but I need only one URL to be in HTTP only keeping the rest of the site on HTTPS. The URL is exactly this:    link I want it to be forced to stay in HTTP only...
asked by 28.11.2016 / 23:32
0
answers

Error Xamarin.Forms Android - new HttpClient ()

This error appears (image) whenever it arrives in this line: using (var client = new HttpClient()) Thisisthecompletecode.usingNewtonsoft.Json;usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem....
asked by 07.10.2016 / 22:40
1
answer

HttpSessionListener a single session per user

How can I make only one http session open per user on the system. Key technologies in design: Spring 4 JSF 2.2 Hibernate 5 Example: User juca, works on your computer using 3 browser. (IE, Firefox and Chrome) If he logs in w...
asked by 22.10.2016 / 01:06
1
answer

HTTP Libraries / HTTP Server

My question is about web servers and libraries focused on the HTTP protocol. In PHP you can use "apache" as a web server, but in other languages is the same stack used? This question came to me when I searched for languages like Go , Crys...
asked by 25.08.2016 / 04:51
1
answer

Apache / PHP returning default http status

I'm creating a REST api in PHP, and in certain situations I return an HTTP status with the specific error message for what happened, for example, 403 Invalid Access Key instead of simply 403 Forbidden . I'm using php's header () function t...
asked by 24.08.2016 / 13:37