Posts by Midana Sana • 76 points
6 posts
-
1
votes1
answer304
viewsQ: ion-toggle how to fire event when scoring
I have following code: <ion-item *ngFor="let dispositivo of dispositivos"> <ion-label>{{dispositivo.Nome}}</ion-label> <ion-toggle toggle-class="toggle-positive"…
-
3
votes2
answers103
viewsA: Do you doubt the mysql database query?
You can create a Trigger before Insert, and at Trigger do what you want! because this Rigger will be triggered whenever an insertion will happen
-
0
votes1
answer513
viewsA: Send image via POST in English
solved... It was just bullshit. instead of image the server was waiting Photo so the line fd.append('image', files[0]); was like this fd.append('Photo', files[0]);
-
-1
votes1
answer513
viewsQ: Send image via POST in English
HELP. I am trying to send an image to a web service via POST. no Postman tested and worked in my controller I did so $scope.upload = function (files) { var fd = new FormData(); fd.append('imagem',…
-
1
votes3
answers1544
viewsA: HTTP post in Angular
Personal thank you, Although it didn’t work out in the ways you suggested. solved on my own server (MVC Webapi) with following code in Webapiconfig var cors = new EnableCorsAttribute(origins:"*",…
-
1
votes3
answers1544
viewsQ: HTTP post in Angular
I am trying to access a web service that receives in Header "Device" and in Body "User and Password", it returns me json in this format: { "IdUsuario": 2, "Usuario": "Fulanu", "Token": "1f7b87d7" }…