Questions tagged as 'http'

0
answers

what do these firewall rules do?

I just picked up an http server in Fedora 22 and when I tried to access from the browser I could not enter and after a quick check I realized that it was the firewall rules, that I deleted all the rules and I could enter, I would like to that pl...
asked by 21.06.2018 / 04:54
2
answers

Prevent the subdomain from being redirected to the main domain

I have created a subdomain es.domain.es but when I enter it in the address bar it takes me to dominio.es My .htaccess file is: RewriteEngine On RewriteBase / RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://dominio.es/$1 [R=301,...
asked by 14.06.2018 / 11:24
0
answers

website (ip my server centos) is online but responds to connection attempts ... web server centos7

I have a web server in centos but at the moment of connecting to the page from my client, it does not simply leave me. 1 client network 172.16.1.0/25 and 2 servers one dns with the ip 200.16.120.2 and the web server in the ip 200.16.120.3, I...
asked by 28.05.2018 / 23:35
0
answers

headers in express, how to get them

I need to get headers from different web pages by using node technology and more specifically express, so I've seen printing the req.headers (using the req module) they get all. But the doubt comes in that by checking what returns to me there...
asked by 14.05.2018 / 18:15
0
answers

Make HTTP Request by Get in IONIC, to api de laravel sending token

Someone that please collaborate with me in how to make a request for GET, passing values by headers since I must send the authentication token. I try but I get the following error ERROR Error: "Uncaught (in promise): Error: StaticInjectorE...
asked by 08.05.2018 / 03:22
2
answers

How to walk a json with ionic 3

I'm working with ionic3 and angular4, I'm running a json from a rest api (through the url) without any problem, but I just want to access a specific data of this json. For example, only to position "1". Home.ts: To tour it: <io...
asked by 15.05.2018 / 23:49
0
answers

Access Endpoint protected with VueJS

I am trying to access the information that an endpoint gives me, but in this case that is an endpoint protected with credentials, username and password. I'm trying to do it with Vue, but I always get error 401. This is my code: created () {...
asked by 05.05.2018 / 13:38
1
answer

Spring Boot and Mockito

I am trying to solve a problem that I have in spring boot and unit tests with mockito. In my test I am making 2 mocketed http calls to deal with the answers // -----------------------------------------------------------services @Inject...
asked by 25.04.2018 / 09:39
0
answers

Question about post calls with postman, mongoose and populate

I am new to this and I do not know how to add an objectId from one collection to another, I saw that it is doing this in my case: {type: mongoose.Schema.Types.ObjectId, ref: 'Weapon'} But it does not work for me, first I want to create a we...
asked by 17.04.2018 / 21:00
1
answer

http Requests on Ionic # 3

I have a tremendous confusion. I have my function perfectly getPromociones(id:any){ // var url = "https:/xxx/promociones/ObtenerPromociones?IdCategoria="+id; return this.http.get(url).subscribe( (data)=>{...
asked by 10.04.2018 / 17:24