Questions tagged as 'api'

0
answers

recursive queries in graphql

I have this type Person{ id: Int! nombre: String! amigos: [Person] } As I can from the resolve, bring me the friends of my friends. is to say something like this: { "me":{ "id": 1, "nombre": "yo", "...
asked by 30.01.2018 / 18:00
0
answers

Consume API Rest from Node JS and collect results in Angular 4

Good morning. I'm making an application in Angular 4 that makes various calls to a Rest API, and that API refers to a database that is on a server. The calls to this API are being made with Angular 4 in the following way: This is the request...
asked by 26.01.2018 / 10:21
1
answer

SQLSTATE [42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax

I am developing a API with slim framework 3 that connects to a base de datos local. The problem is the following when I try to update an element of my BD by passing it a id said procedure returns the following...
asked by 27.01.2018 / 20:09
1
answer

Problem with dynamic data on my website

Good morning, I have a problem and that is that my website has some data that is updated with an accountant through an api that provides the data and if I put www.xxxx it does not load the data but without the www. if he loads them correctly....
asked by 23.01.2018 / 14:35
0
answers

Symfony2 Rest api, method PUT, request to null with multipart / form-data

link From what I have seen in the post that I left there is a bug in PHP that makes the request null with this type of content type, does anyone have a solution to pass files to a service rest with the method put? .I have solved it using po...
asked by 17.01.2018 / 10:57
1
answer

Security by roles in spring boot api

Good, I'm having a problem with the securization of my API, I have everything mounted, a login that returns a token which passed through headers and a series of classes that authorize me to enter thanks to that token, but I want to go beyond tha...
asked by 04.01.2018 / 16:38
1
answer

Events on itunes

Is it possible to do that when someone makes the payment of a subscription to my app through itunes this can connect to an endpoint and send me the information of the purchase in a Json by body as do the webhooks of stripe ? I have researched an...
asked by 03.01.2018 / 18:26
1
answer

How to solve this Error in webpack

This is the error ERROR in ./index.js 1 Module not found: Error: Can not resolve './index.css' This is my index.js import React from 'react'; import ReactDOM from 'react-sun'; import './index.css'; import App from 'App';     
asked by 10.01.2018 / 16:34
1
answer

Use select with API in JSON

I'm making a web page where I'm using the select tag for different uses of an API that is in JSON ( link ) and an input to enter the information, how can I do an if in javascript with the values of the select and send a POST to parse the JSON i...
asked by 25.11.2017 / 05:21
0
answers

List emails using cPanel API2

I am working with the cPanel API and I want to list all the emails with the assigned tray space and how much they have consumed so far ... Everything works for me without problems but my question / problem lies in the following: In the docume...
asked by 05.03.2018 / 19:25