Questions tagged as 'api'

1
answer

PHP Chat How to use? [closed]

I want to have a chat for support on the site I am developing, I am wanting to use tawk.to , I have some doubts about how to install it, I am developing the site in CSS and HTML . The question is whether the site needs to be...
asked by 31.05.2017 / 19:26
1
answer

Results of Football Games on the site

I am currently developing a small website for testing that allows the user to view the games that were performed as well as their results, the players in the field and when they were replaced, the fouls, etc. .. I researched a bit but there...
asked by 26.04.2017 / 18:01
1
answer

How to test the Restful API?

Hello, I'm practicing and the boy created an AP and told me to do the http methods of post, delete and etc ... I would like to know if it is correct what I did and the code of it, and how I do it for the test it. config.js //qualidade //va...
asked by 07.04.2017 / 15:34
1
answer

Registration Screen - User Replay

I have a post code, which registers my users, but they can be repeated, I would like help to make a code so that users can not repeat themselves, however I am new to Android and I do not know how to do this , my code: public class onbuttonclic...
asked by 22.05.2017 / 20:27
1
answer

How to get the auto increment ID using MySQL and PHP and use it later? [duplicate]

I'm creating an API in PHP and insertion. I need to get the ID created in this INSERT and use it later. What I find of material seems not to be recommended. Any solution? Thank you. My PHP: <?php header('Access-Control-Allow-Origi...
asked by 25.01.2017 / 13:34
1
answer

POST problem using JQuery

I'm studying JQuery and I'm having a problem with giving POST to an API that I have. Follow my html : <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Co...
asked by 15.03.2017 / 01:59
3
answers

Problem accessing api using $ .ajax from jQuery

I'm having trouble accessing api using the $.ajax({}) function of jQuery. The Error: Mycode:<!DOCTYPEhtml><html><head><scriptsrc="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script...
asked by 31.08.2016 / 01:48
1
answer

Pagseguro notification API does not return data

I am having a problem with the pagseguro notification API, it is not returning the XML in any way, I'm testing on HTTP , because in HTTPS also did not work ... Does anyone know how to solve this? Code: <?php require("includes/connec...
asked by 07.08.2016 / 20:50
1
answer

Add repeated parameter in theTRESTRequest component of Delphi

Good afternoon. I'm developing a class in Delphi using the Ticket API. The class is ready and functional, issuing tickets and generating shipping. This class consists of the Delphi REST components (THTTPBasicAuthenticator, TRESTResponse, T...
asked by 10.12.2016 / 18:06
2
answers

Pass variable from a controller to a service

angular.module('myApp').controller('paginasCtrl', function($scope, CarregaItens) { function carregaPaginas () { CarregaItens.getPaginas() .success(function (data) { $scope.paginas = data; }) }; car...
asked by 26.02.2016 / 20:11