Questions tagged as 'http'

0
answers

Cross-platform HTTPs Lib

I'm developing a set of apps that will be launched for pretty much every platform (iOS, Android, Windows, MacOS, Unix). Most of the code of those apps is the same, so I'm creating a library with the core functions that will be used by them. I...
asked by 26.01.2018 / 21:19
0
answers

android how do I get the address of a hostspot

I have the following problem. I enter a router and it directs me to an authentication page. This page is an ip address that varies (eg link ). The application's function is to automatically log in to all spots. Do you have any way to g...
asked by 26.01.2018 / 18:58
1
answer

Order of angular token

How to place my Authorization token in my http request (GET). This is my current code: import { Component } from '@angular/core'; import { Http } from '@angular/http'; import { HttpClientModule, HttpHeaders } from '@angular/common/http'; @...
asked by 23.01.2018 / 23:39
0
answers

How to add an array of files to a Form?

I made a small script to upload images so you can choose how many you want. At the end is an array with all the information. How can I make this array with the files go in the request for the backend to be able to insert into the DB?    ...
asked by 09.01.2018 / 18:48
1
answer

NoMethodError: undefined method 'empty?' for #URI :: HTTPS: 0x000000063069d8

I'm doing a REST request but when I run I get this error: NoMethodError: undefined method 'empty?' for #<URI::HTTPS:0x000000063069d8> My code: require 'net/http' require 'uri' def mandareq url = URI("https://gateway.plusmms...
asked by 15.01.2018 / 13:23
1
answer

Sending Sandbox notifications from PagSeguro to the local address (C # ASP.NET MVC)

I'm integrating PagSeguro into an ASP.NET environment, and everything was going well until I got to the part of sending PagSeguro notifications. As you can see in the image below, I have configured the following parameters for redirection and fo...
asked by 05.01.2018 / 19:41
1
answer

Revert 301 redirect

In the index.php file, I accidentally wrote the following code: <?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.habbo.com.br"); ?> The redirect was meant to be only temporary. Now, even deleting the file...
asked by 16.12.2017 / 01:01
1
answer

Deploy Rails project on AWS, access without using port

I need to upload a site developed in Rails into AWS . However, every time I start it it is only accessible if I specify the port used by Rails    (www.domain.com:3000, for example). I've tried to work around this in AWS balance setting...
asked by 06.12.2017 / 15:29
1
answer

What would be the @DELETE methods of a RESTfull java api?

I am using FullEntityRepository of deltaspike , Response has to be a status 204 if it works, and status 400 if it does not. Any tips? Layer service: @Transactional public void deletar(Integer id){ MotivoConc...
asked by 09.12.2017 / 16:06
0
answers

how to identify the Action field of the Form in a request ANDROID STUDIO

What procedure should I perform in order to identify the Form's Action field in an http request in android studio. I need to create a string with the url of the site to use in a user authentication.     
asked by 30.01.2018 / 02:13