Questions tagged as 'http'

0
answers

wanted a function that sent to my email

function envia_email(){ var nome = $('#ContactName').val(); var email = $('#ContactEmail').val(); var mensagem = $('#ContactComment').val(); //VALIDAR EMAIL //VALIDAR NOME if(nome == ''){ alert('Insira um nom...
asked by 19.04.2018 / 14:10
0
answers

httprequest with curl in C returning values

Hello everyone reading. I'm trying to create a simple md5 hash file validation code with my web server. I basically want to send the hash and if it is the same registered on my web server and it will return with true or false, if true retu...
asked by 17.04.2018 / 18:01
0
answers

How to correctly use Ngrok with Angular-cli?

Is there any correct way to use Ngrok with Angular? I'm trying to do a tunneling for my application that runs on localhost, creating a random web (URL) to make available on the internet, so I can run Moip Signature Webhook API tests. It ha...
asked by 03.03.2018 / 02:55
0
answers

How do I do a POST + Redirect with Angular?

Hello, I need to make a post for a page and redirect along with the post for when loading the page displaying the posted data. The problem is that when I do the post it already brings me the RESPONSE with the loaded data and if I do the redir...
asked by 23.02.2018 / 14:07
0
answers

Axios - Basic Auth not working

I have to do a POST login request in an API, however I have a problem requesting with the axios. I set up the request following the documentation of the own axios, using 'auth' in the creation of the 'axios instance', see: const instance...
asked by 14.02.2018 / 20:48
1
answer

Error Unexpected token d Node

I'm having trouble using http to make a call on a API .    "{\"error\":\"Unexpected token d\",\"code\":400}" const express = require('express'); const router = express.Router(); const http = require('https') const conf...
asked by 08.02.2018 / 19:33
0
answers

How to know the number of methods used in the requests made on a server?

Personal greetings! I'm making a budget for server switching and one of the costs consists of the amount of https methods done (get, post, etc). Is there any way for cpnael or another place to know how many and how many methods were in a m...
asked by 01.02.2018 / 14:50
0
answers

Angular 2 error while executing file upload

I have a system that uploads files from an angular application 2 to a java system and saves it to a sql server database. In the angular application 2 and in the system in java I am saving in String format, and in sql server database in the forme...
asked by 26.01.2018 / 12:17
0
answers

Redirect .htaccess for HTTPS

Hello, I'm not able to do the redirect via .htaccess to the same page / domain with the https protocol; I tried the code below but it does not work, the reason is that the ssl certificate was installed on the firewall, not on the machine, so...
asked by 27.01.2018 / 19:42
1
answer

Save data clicked on a JSON

I am creating a simple application in AngularJS, the application is summarized in 3 pages: Device: Where the person chooses the device Plans: Choose the plan related to the device Final file informing name, email, telephone and etc ......
asked by 22.01.2018 / 20:23