I'm developing an app using ionic on the macbook with OS X Yosemite.
When trying to send data via POST or receive via GET to a remote server, the error appears:
Chrome:
XMLHttpRequest can not load link . In 'Access-Control-Allow-Orig...
I have my backend, in my controller I have a method
salvarBairro(string dados)
I'm using angular, this guy here calls my save methodBall of the back
$scope.AddBairro = function (bairro) {
$http.post("http://localhost:23714/Ba...
I have a page that performs several tasks. This page is open to system end users, who can access it via the browser.
In certain situations I would like to trigger page rendering with a console application. Something like:
using System.Net;...
I know that every HTTP request made, either by the browser or another resource, sends a certain method ( GET , POST , PUT , DELETE and so on).
I'm thinking of building a Restful application with PHP, but I do not kn...
What are the best ways to stay with a selected item in a select after page transition (Go to a page and then return with the fields already selected) using ASP.NET MVC? Session? Cache? TempData? Hidden field?
I have a Webservice in PHP and I need to use it to integrate two applications. WS returns in JSON the data I need. The problem is that it returns only the data when the request is made from a local server. If I do the request from any web do...
I got a script (Java android and php) from a book I'm studying that simply takes a photo sent from android and saves it to a folder on my server.
Home
The android application ran without any error, but I ended up with an error in the file in...
I'm trying to request the address for the zip in a website, but it is giving the following error:
Mixed Content: The page at ' link ' was loaded over HTTPS,
but requested an insecure XMLHttpRequest endpoint
' link '. This request has
...
I have two applications that worked perfectly, but without any changes to the code, they do not work anymore.
On the one hand, an application with a JSP doing a POST call and passing two hidden parameters:
<li>
<form name="logi...
I have a simple application in Angular and I need to call my API to get a token . But I am facing difficulties. I'll try to explain a bit about my flow.
I created a service class where I instantiate it only once to store a Token. This token...