Questions tagged as 'api'

1
answer

Optimize the response of a service in an Api-Rest with Spring Boot

Good day, I am currently developing an api rest with Spring Boot :: (v1.5.9.RELEASE) to control the handling of a table called File, which persists with other entities, The driver to call the service is the following: @RestContro...
asked by 26.07.2018 / 02:15
0
answers

Custom Authentication in Web API 2 with OWIN

The theme is as follows. I am working on the authentication system for an API in Web API 2, according to a certain need of the project my OAuthProvider is as follows: public override async Task GrantResourceOwnerCredentials(OAuthGrantR...
asked by 26.07.2018 / 02:08
0
answers

Problems with Google Contacts Api in Java

I'm new to managing the Google Contacts app, I'm making a java desktop application to import contacts from Google, and create a project in OAuth 2.0, and I have all the credentials already, but I do not know where part of the code asks me for th...
asked by 07.08.2018 / 21:45
1
answer

How to consume an API by json with PHP

I have a query that seems maybe something simple, but searching the web I could not find the answer. It turns out that I have an api with its documentation, which shows which parameters are accepted via Json, but I have no clear idea how to u...
asked by 14.07.2018 / 07:04
1
answer

HTTP error 413 Request entity too large (Request entity too long) Bot Telegram

I have a problem sending notifications using the Telegram Bot, as it gives me    error 413 I currently develop a .Net Framework project in C # and through a Trigger Function I make the notifications using the Telegram Bot, however the...
asked by 13.07.2018 / 21:55
0
answers

Custom endpoint API REST FRAMEWORK

I'm trying to make an endpoint to show the data of different models.    Webinars, Slide, Academy class Webinars(BaseTitle, Timestamp) class SlideBanners(models.Model) class Academy(BaseName, Timestamp) These models do not have relatio...
asked by 19.07.2018 / 16:46
1
answer

help I have an error when consuming api from ajax

the browser throws me this error when trying to consume API, I do not know what it can be:    Failed to load    link : No   'Access-Control-Allow-Origin' header is present on the requested   resource. Origin 'null' is therefore not allowed ac...
asked by 09.07.2018 / 23:37
0
answers

Send Bytes Array. Error 414, Request URI Too Long

I'm trying to insert a byte array by API. The call is made from a Web (Angularjs + PHP) The API that receives it is developed in .NET The problem with which I find myself is the following. We launch a GET request to a URL, along with a...
asked by 03.07.2018 / 14:10
0
answers

How to create a user for a profile in the django API

I have this in this serializer: class ProfileSerializer(serializers.HyperlinkedModelSerializer): shops = ShopListingField(read_only=False, required=False) publishers = PublisherListingField(read_only=False, required=False) profile_typ...
asked by 04.07.2018 / 11:15
0
answers

Angularjs can be integrated with paymentez

I need help with example with the integration of api paymetez and angularjs. When making the call to the api I returned an error in the callback, followed the tutorial indicated in the development reference. link     
asked by 02.07.2018 / 18:29