Questions tagged as 'api'

2
answers

PHP Web Service with INNER JOIN

I'm creating API for consumption in Ionic applications, but I'm struggling for 2 weeks in one of these api's, where I relate data in more than one table with inner join. I tried to do as in my php system, where I add the items in the bank, could...
asked by 10.11.2017 / 18:11
0
answers

Questions about OAuth and Tokens in an API [closed]

Before, I would like to contextualize my scenario: Home I'm a student in the area who has a huge passion for mobile development and recently I've seen the need to create my own API's to enable the conversation between the application and my...
asked by 26.10.2017 / 06:45
0
answers

Sending 1 jSON at a time for API

Hello. I have a question that I can not heal. I'm doing a PHP integration of Opencart with the Your Sales API, but the API only accepts 1 json at a time to register, ie I need to get it sent one, then the other and so it goes, but I'm not sure h...
asked by 31.10.2017 / 22:23
0
answers

API Slim returns error only with AJAX request

Hello, I developed an API using the Slim Framework and testing one of the endpoints that with Postman works perfectly but when I do the AJAX request, although it is sending exactly the same data that I send with postman, it seems that the data do...
asked by 03.11.2017 / 17:23
0
answers

How to extract data from Facebook with Pyhon? [closed]

I want to better understand the behavior of people who like my page; who they are and what they like. Is it possible for me to get this personal data from users (name, city, age, tanned) with python on facebook? Or does Facebook deny me access t...
asked by 06.10.2017 / 14:53
0
answers

Error consuming service in REST. Attribute exists

Does anyone know the reason for the error below when trying to access consume a webservice? It was working normal, and began to present this error. I've done Refresh in classes, there was no change. It "complains" of an attribute, which already...
asked by 25.09.2017 / 17:53
0
answers

JSON for websocket gives error

I send a JSON to the websocket. JSON and sending is defined like this: var binary = btoa(Uint8ToString(view)); var toSend = { 'fileName': fileName, 'sequence': SendedChunks, 'data': binary.toString() }; var z = JSON.stringify(toSend...
asked by 30.09.2017 / 01:51
2
answers

Request blocked by CORS Policy

I'm doing an API with Slim Framework and when I test the answer with Postman everything works fine, however when I put it on the server and tried to make an ajax call to test I got the error below.    Failed to load link : Redirect from ' li...
asked by 15.09.2017 / 15:45
0
answers

What is the best strategy for updating data only when necessary?

In an application with React Native , using Redux and Redux-Persist , what is the best way to identify that content needs to be updated? In my case, I have an application that makes some requests on start up. When I enabled...
asked by 16.09.2017 / 17:27
1
answer

Good Practices in APIS Rest Full with PHP and Doctrine ORM 2

Currently we have a system that uses Doctrine ORM2, we have our Entities, and our DAOS themes, within our DAOS classes we have several methods that we use to make queries, Change, Insert and Delete Data in the database. > We've created some pr...
asked by 19.09.2017 / 13:06