Questions tagged as 'api'

1
answer

Login to Swift Authorization

I'm consuming data from a certain API to login, it returns me the% correct access%, and if instead returns ERROR , but I can not do move to another screen if the fields are filled correctly, follow the API code below: let postString = "usua...
asked by 18.09.2017 / 18:10
0
answers

Pass array object to API and save to Bank

I'm using Ionic 3 and want to save the data of an object in the database. In the API is executing the query and saving null in the database, I imagine that the form I am sending the object is wrong. Here is my code: finaliza(obj){...
asked by 26.09.2017 / 13:52
0
answers

Error Unexpected end of JSON input

I'm working with Ionic 3, getting data through a Restfull API, using PHP and MySQLi, but returns this error:    Unexpected end of JSON input. I believe the error is in the API. Here is my code: In the API - app-produtos.php &l...
asked by 20.09.2017 / 23:35
0
answers

Rest API returning Token

I need to develop an application in Swift I'm trying to consume an API to login and when I log in the application will have to send a Token , but this Token already exists in the API , would you like to know how I can handle it? Is it a...
asked by 15.09.2017 / 11:58
0
answers

Android - Fragment Opens before data is ready

I'm having a problem with a list of objects that come in a JSON, I can get the data, they get it, they should be presented in a Fragment that has a RecyclerView, the app opens and shows nothing. By analyzing the logs I noticed that the Fragment...
asked by 15.09.2017 / 15:24
1
answer

Node.js for relaying information from a third-party API

What I want to do with Node.js is basically LISTEN to an API (jSON) and process the results to send to multiple clients. Example: WhatIwanttoknowis:DoesthisMyVPScomputerhavetoexistanywayandruntheserverapplicationfor24hours?Ithoughtofsomet...
asked by 26.08.2017 / 09:21
1
answer

How to do JSON data request

I need to collect some data from a program that has API: PipeDrive API Reference If I understand correctly, for each task, a URL will be generated to make Requeste data, for example: https://api.pipedrive.com/v1/deals?stage_id=4...
asked by 11.08.2017 / 18:04
0
answers

Authentication with JWT Auth and dingo API Laravel 5.4

I did an authentication with the default user model of Laravel 5.4, but now, I did the same implementation, only with a custom model, and it's not working. I get this error "message": "Undefined index: password" . Model: <?php na...
asked by 03.08.2017 / 16:11
1
answer

Google API Do not show up on my page

Hello, I'm trying to insert google maps into a MVC site that Visual Studio 2012 already makes available for testing. By taking only the maps part and putting it in a aspx , it generates the cute map the way I ne...
asked by 18.07.2017 / 14:28
0
answers

Why api key (google) does not work when adding key constraint

I have 2 api key, one with restriction for android apps and another without, when I put the app to use the api with restriction it can not access the api by returning the error "403 Forbidden", in api without restrictions everything works normal...
asked by 01.07.2017 / 02:26