Questions tagged as 'api'

1
answer

Rails 5: Iugu and recurring payment

I looked in the Iugu documentation what the function in Rails called to create a recurring payment in iugu, but I could not find it. Can someone give me a light on this? There is Iugu::Subscription.create , but I would like the specific fu...
asked by 20.09.2018 / 13:40
0
answers

How to request another site?

Hello, I'm having trouble making a code that I have in mind. It would be as follows. I have a site that talks about the buses of my city and I am developing a code in php that looks for airbus and puts the line / route that it is. T...
asked by 28.09.2018 / 04:55
0
answers

Web Push Notification (Error 400)

I'm trying to implement push notification, but so far nothing works properly. I wonder if I'm doing something wrong. When I send the message I get the 400 UnauthorizedRegistration error. I think the same should be in the request parameters...
asked by 06.09.2018 / 13:19
1
answer

Error 404 when using Sky Ecommerce API

I'm trying to make a request via API to make sales via credit card. Manual URL: link JSON informed by SKY { "MerchantOrderId":"2014111703", "Customer":{ "Name":"Comprador crédito simples" }, "Payment":{ "Type":"C...
asked by 19.09.2018 / 20:28
0
answers

A question about customizing a javascript related to Twitch Clips

Basically my idea is to get the 3 most watched clips of the day from a certain channel, but what I'm not able to do is to customize the player in which they are being "Pulled", since I do not know how to customize the iframe created via javascri...
asked by 29.08.2018 / 16:07
1
answer

Display api with Ionic

Good afternoon everyone, I'm consuming an api, but I can not display it in my template, it's being consumed, it appears on the console, but I can not get it in the template. Component: import { PaisesProvider } from './../../providers/paise...
asked by 31.08.2018 / 19:52
0
answers

API youtube v3 - share private videos

I've got my app catching up with the Youtube API v3, my live when it's live. I called with jQuery using the GET method - link with the parameters: part: 'snippet', channelId: 'ID_DO_CANAL', eventType: 'live', type: 'video', key: 'MINHA_AP...
asked by 27.08.2018 / 20:01
1
answer

Saving data in Angular API

I need to save a dataset through an API. I tried to pass the data in different ways but I was not successful. Always gives the error:    ERROR Error: Uncaught (in promise): HttpErrorResponse: {"headers": {"normalizedNames": {}, "lazyUpdate...
asked by 24.08.2018 / 20:43
0
answers

Unexpected character "60" - Error performing Login with RTC java api

I'm trying to log in to java api 6.0.2 using java: TeamPlatform.startup(); repo = TeamPlatform.getTeamRepositoryService().getTeamRepository(repoUri); repo.registerLoginHandler(new ILoginHandler2() { public ILoginInfo2 challenge(ITeamRepositor...
asked by 17.08.2018 / 20:04
0
answers

TypeError: Object of type 'NotFound' is not JSON serializable

I am mounting an ionic APP that makes request for an API in flask. The following error appeared when I try to make a post request:    TypeError: Object of type 'NotFound' is not JSON serializable But when I test only the API doing request...
asked by 26.08.2018 / 00:04