Questions tagged as 'http'

0
answers

Postfix for server nodejs with ionic error XMLHttpRequest

I am using ionic 3 to execute a http post request for a local server developed in node js but the error is occurring:    VM1515? ionicplatform = android: 1 XMLHttpRequest can not load link . Response to preflight request...
asked by 17.06.2017 / 17:57
0
answers

Geolocation and HTTP requests in the background with Ionic 2

I am creating an application with Ionic 2 in this application I need to get the geolocation of the device and make HTTP requests for a web service I have been publishing. I used SQLite to save the information while it was offline, and to se...
asked by 09.06.2017 / 02:26
0
answers

Return value in the Header of an HTTP (POST) call in the API [closed]

I'm using Postman to make the call in the API. That returns me this result in the body: thatcomesfromthisabstractclass:publicabstractclassResponseBase{publiclongSessionId{get;set;}}Aftercollectingthevalueoftheproperty,itfallsintothismethodof...
asked by 26.04.2017 / 20:40
1
answer

Mounting url for test in cUrl

I'm using Retrofit to call an internal API from a site I'm testing. A url similar to the one I have is: www.sitedeteste.com/r/ In my Android retrofit I have this PUT statement: @PUT("/ordem/{Id}/{tipo}") In my Ubuntu terminal my u...
asked by 28.03.2017 / 02:04
0
answers

Force https redirect to specific page http

I have a site that is in https , but there is a specific page that pulls information from another site that is not in https , which prevents the page in question from correctly loading the content because the browser is blocking load...
asked by 27.07.2017 / 16:31
0
answers

Multimedia Transfer Protocols?

I'm developing a video site, and these are stored on a windows server, I currently use link to fetch the video files for the HTML5 player , but there I raised the question if HTTP is appropriate for this type of use, is there any restriction?...
asked by 08.12.2016 / 21:58
1
answer

Implement Loader while loading page

I would like to better understand a feature commonly used in web systems where you access a page it displays a loader while content is not ready. How to implement this in a PHP system that does some delivery procedures for the front end that...
asked by 27.10.2016 / 16:06
1
answer

How to configure a repository I created for Spring Security (Basic)

I'm in a project and will use Basic Auth of Spring Security , I'd like to know how I can configure it to use users created with my Repository . Entity: @Entity public class User extends SuperEntity { private String name; privat...
asked by 14.10.2016 / 01:13
1
answer

User Login with WebService

I would like to ask Java connoisseurs (Android) to guide me in this code: MainActivity: @Override protected void onCreate(Bundle savedInstanceState) { Log.d("TESTE", "Iniciou MainActivity"); super.onCreate(savedInstanceState);...
asked by 17.03.2016 / 20:33
1
answer

error in http post

I would like to have the save method in the class itself, and I'm not getting it, I'm a beginner in the typeScript language. import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; @Injectable()...
asked by 10.08.2016 / 17:04