Most voted "http" questions
Hypertext Transfer Protocol (HTTP) is a network protocol, application layer of the OSI model, which is used for content transfer on the World Wide Web.
Learn more…465 questions
Sort by count of
-
1
votes1
answer65
viewsUsing Fileserver to share files
I am learning Golang and to practice I am doing some small "projects", my idea is just to share a folder of my Windows or some file through my local wifi network using the net/http package of…
-
1
votes2
answers242
viewsCircular http dependency found: $http <- Authservice <- Authinterceptor <- $http <- $templateRequest <- $route'
I’m having the http circular dependency problem at the angle. I have seen other questions with similar subject, but the ways I have tried I have not yet managed to solve the problem.. My Code: var…
-
1
votes1
answer92
viewsWhat does it mean to put a guy before a statement?
Hello, I was studying HTTP Requests in Java when I came across a code and in a certain line there was a statement a little bit strange to me, someone can explain to me what a type means before a…
-
1
votes1
answer285
views -
1
votes0
answers511
viewsReturn value in the Header of an HTTP call (POST) in the API
I’m using Postman to make the call at the API. That returns me this result in the body: that comes from this abstract class: public abstract class ResponseBase { public long SessionId { get; set; }…
-
1
votes0
answers36
views -
1
votes1
answer129
viewsAndroid error post method
I would like to make the username string send to the bank after being clicked on the button, but is giving error in the lines: at…
-
1
votes1
answer806
viewsHow can I create my own protocol as well as HTTP?
See this code below. It creates a server with Node.js. But, if I change var http for example: var xyz = require ("xyz"), var server = xyz.createserver... makes a mistake. var http = require("http");…
-
1
votes0
answers136
viewsGeolocation and HTTP requests in the background with Ionic 2
I’m creating an app with Ionic 2 in this application I need to take the geolocation of the device and make HTTP requests to a web service that I have published. I used Sqlite to store the…
-
1
votes2
answers65
viewsAndroid String Post http
I have a code that I would like you to do a "Post" of the email string after clicking on the button, the post code is apparently correct , but the button is not working.. logcat does not return any…
-
1
votes0
answers137
viewsPost storage for nodejs server with Ionic error Xmlhttprequest
I’m using the ionic 3 to effect a requisition http post to a local server developed in node js but the error is occurring: VM1515 ? ionicplatform=android:1 Xmlhttprequest cannot load…
-
1
votes1
answer2689
viewsWhat is the use of pipe() and map() functions in Angular 6?
I learned that I have to use these two functions when I’m working with HTTP requests, I learned that I have to use these two functions as a cake recipe, which you use and that’s it, I wanted to know…
-
1
votes1
answer505
viewsBrowse answer tags from a C#site
I’m performing a query on google by C# and I need to get back from the query the Query Title and the Link of the queries returned. I got my return as follows: public class GoogleSearch { private…
-
1
votes0
answers146
viewsForce redirects from https to specific page http
I have a website that’s on https, but there is a specific page that pulls information from another site that is not on https, which prevents the page in question from correctly loading the content,…
-
1
votes0
answers390
viewsIIS 10 - Redirect HTTPS to HTTP request causing MIXED CONTENT error
I have an iis website with HTTPS open, but I need to redirect a specific request to http. This works, however, the browser returns an error when Iss redirects the request to http. Next: Mixed…
-
1
votes1
answer277
viewsCheck http status at the angle
I have the following code, I need to check the status that the server returns to the Webapp, I have the following code: this.http.post (this.url,json) .subscribe ( res => { console.log(res); },…
-
1
votes1
answer314
viewsHTTP connection to server does not return JSON data
Hello, I am trying to get the data of a query via HTTP, but it is returning me this error: org.json.JSONException: End of input at character 0 of The Code I have is this: private class AsyncFetch…
-
1
votes1
answer163
viewsProblem at angular5 with Httpclient
I’m trying to do a requisicao with angular5 for learning purposes and I’m not with you, follow the console log and source code. ERROR Error: Uncaught (in promise): Error:…
-
1
votes2
answers273
viewsError making API requests using Axios and Vue-Resource
It was consuming data from an API using XHR and was working very well, but there were some changes to the project and the need to use Vue arose. I tried to make the same requests using Axios and…
-
1
votes0
answers293
viewsAngular 4: Error running HTTP POST in JSON File: Not Found 404
Bom Dia Amigos, I am learning Angular, using version 4.4.6 with Angular-Cli and am having problems using http post service. First I created a date folder where I stored my json file and added it in…
-
1
votes1
answer1419
viewsSending notifications from Pagseguro Sandbox to local address (C# ASP.NET MVC)
I’m doing the integration of Pagseguro in an ASP.NET environment, and everything was going well until I got to the Pagseguro notifications part. As you can see in the image below, I have set the…
-
1
votes2
answers438
viewsSave data clicked on a JSON
I am creating a simple application in Angularjs, the application boils down to 3 pages: Apparatus: Where the person chooses the apparatus Plans: Choose the plane related to the device Final…
-
1
votes3
answers4910
viewsConsuming an API with Angular
I’m trying to consume an API with Angular 5 but it returns me this error: " Error trying to diff '[object Object]'. Only arrays and iterables are allowed at DefaultIterableDiffer.diff". Response…
-
1
votes0
answers25
viewsWhat is the difference between HPACK and QPACK?
Many changes came with HTTP 3, one of which is the use of QPACK instead of HPACK (introduced in HTTP 2) for compression of headers What’s the difference between them?
-
1
votes0
answers29
viewsSwitch web application port with Kotlin in Intelij
I’m using Kotlin on Intelij along with Vertex and Jboss. I want to change the default port of my application. I have tried to put in the VM Options of the Inteli run Configurations a different port,…
-
1
votes1
answer447
viewsIframe error not clicking on Mobile (mobile)
I’m having trouble seeing iframe only on mobile devices (in dev tools simulating mobile works ok, the situation is as follows: Website in wp Really Simple SSL plugin installed (I ran tests with it…
-
1
votes4
answers259
viewsError While Consuming Api at Angular
Good Afternoon I’m consuming an api (Pokemon), But it doesn’t work, Pokelistgemcomponent.html:6 ERROR Error: Cannot find a differ supporting Object '[Object Object]' of type 'Object'. Ngfor only…
-
1
votes0
answers24
viewsHttpserver gets OPTIONS from Axios and Vue-Resource
When I send a request with Axios or Vue-Resource, with the http server I end up receiving an OPTIONS instead of DELETE, POST, or PUT. Requisitions: this.$axios.put('http://192.168.0.103:3389',…
-
1
votes1
answer73
viewsGet problem using google’s Angular API
I have an angled application that should search the Google API a long and lat. I created this method below to configure my call HTTP.GET(): ObterGeolocalizacao(): Observable<any> { const cep =…
-
1
votes1
answer181
viewsMultiple Dependent Requests at Angular
Hello, I’m doing a process at the angular, in the 'ngOnInit()' method, where I need to perform 3 HTTP methods, which are asynchronous. one depends on the other’s answer. for example: 1° call: get a…
-
1
votes0
answers35
viewsDeploying Skype to site
I’m testing the skype Webcontrol feature, where it’s possible to add a skype chat window on the site. But I have a few mistakes I’m having trouble solving. The window itself appears, but errors…
-
1
votes1
answer27
viewsProxie no Ionic
I’m having trouble making http requests on Ionic, I saw that one way to bypass CORS is by using proxies. I tried something like: Ionic.config.json: { "name": "appIonic", "integrations": { "cordova":…
-
1
votes1
answer990
viewsError making an Angular POST request (Syntaxerror: Unexpected token s in JSON at position 0 at JSON.parse)
Angular: public urlConvenio: string = "http://localhost/teste/sistema/backend/controller/convenio/listar.php"; const httpOptions = { headers: new HttpHeaders({ 'Content-Type': 'application/json' })…
-
1
votes1
answer1701
viewsHTTP Basic Authentication with AJAX and php
I am trying to do a simple password authentication using HTTP BA. follow the codes: login.php <?php if(!(isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW']))){…
-
1
votes1
answer69
viewsRedirected from the domain
I have a Locaweb domain that redirects to my vps ip via A and CNAME. It redirects the normal link mainly however when and typed link with http:// without www and also if http:// it is redirected to…
-
1
votes0
answers1344
viewsHow can Postman send requests without Cors problems?
I currently use Angular 2+ in some applications and am experiencing difficulties in solving Cors problems. When the request is made by Postman, everything happens as expected, but when I try through…
-
1
votes1
answer915
viewsHow to request via c#? Webrequest vs Httpclient
I have a project in . Net Framework 4.6.1, and in my research I concluded that I can use the class Webrequest to request other web services via backend. I wish I could make requests using any http…
-
1
votes1
answer76
viewsHow to change the structure of a static method at runtime?
I am building a Java application that consumes a REST Web Service. I sought to use the new Httpclient of Java 11. However, the same request in this target application sometimes gets a post,…
-
1
votes1
answer504
viewsASP NET MVC - "CORS" ERROR
Hello, I have a mistake and I can’t fix it. I have an ASP NET-MVC5 application and I carry a frame in my view that has some fonts, but they are giving the following error: Access to font at…
-
1
votes0
answers28
viewsHow do I send custom sounds in FCM notifications via HTTP legacy?
I’m using a standard webview APP with FCM integration; and I’ve always sent notifications to users through the legacy HTTP protocol site. It still works normally, but the custom sounds stored in the…
-
1
votes1
answer365
viewsPublic Directory - Node.js
Public Directory Node.js I’m having problems releasing a public directory on Node.js. I need everything in the directory public is accessible via direct URL. I’ve tried to use…
-
1
votes0
answers204
viewsReceive an HTML data via Arduino ESP32 Web Socket
Good afternoon. I’m developing a project with Arduino to perform the pulse count when a request via an HTTP web socket created by Arduino ESP32 is triggered. The request (in this case, when the user…
-
1
votes3
answers155
viewsHow do I catch a backend error and not log into the application?
Guys, good night, I researched several topics and tried several solutions and unfortunately I could not adjust the error. I am developing an application with Angular and my Python backend, at the…
-
1
votes1
answer624
viewsAPI request returns empty in mapped class
I have a problem trying to return the answer of a api in my class. When I try to run my list returns null instead of the api data My class Photo class Foto { final int AlbumId; final int Id; final…
-
1
votes0
answers187
viewsHow to authenticate with token (JWT)?
Good night, you guys! I have tried 3 different ways, but the closest I got was the code I will post below, I am developing an application as a study using Angular and Python and currently I already…
-
1
votes0
answers427
viewsHow to extract Header Token to store in Local Storage?
Good night, you guys! I’m in a battle to get back the token I send from my backend to my browser. Follow my Back code in Python: class Login(Resource): def post(self):…
-
1
votes0
answers78
viewsManaging flask error by looping and not redirecting
I set up a server that can send and receive files, with a size limit of 50mb using ['MAX_CONTENT_LENGTH'] = 50 * 1024 * 1024, I also made a Errohandler for Error 413, which is what I get when I send…
-
1
votes0
answers105
viewsAutomate express response function (res.send())
I have an express api and would like to develop a function to standardize the customer response. Code (running the function): response(200, "Evento adicionado com sucesso!", res) Scope of function:…
-
1
votes0
answers22
viewsVB.NET webserver gets spammando requests
Hello. I’ve just set up a Vb.net webserver to receive requests that arrive on the localhost. This webserver has the role of redirecting these requests to another address. What happens is that it…
-
1
votes0
answers37
viewsWhat is the difference between HTTP server and HTTPS considering my structure?
I have a js Rest Node application running behind a proxy Reverse by Nginx, with https properly configured, where the server is configured as follows: Obs: app is my router. const httpServer =…