Questions tagged as 'api'

2
answers

When to use an API and when a Web Service? [closed]

I am currently in a project in which I have to perform a web service or an API, but not having much knowledge of these I do not know what to use, the client that will use it has to pass certain parameters and with these Parameters the web servic...
asked by 11.12.2018 / 18:16
3
answers

Call API with Angular credentials

I have an application in Angular, which I want to make a call to a secure (endpoint) API with credentials (user & password). I can do it with Ajax, but not with Angular. AJAX / JQUERY Code: jQuery.ajax('https://www.ENDPOINT.com/api/F...
asked by 04.12.2018 / 09:47
0
answers

Retrieve lost commit from GIthub [closed]

I have a very serious problem. Working in my repository have lost commits , and I need to return the repo to a specific commit . It is a repository of a simple web that I was doing. The API shows the commit that I want to return (see...
asked by 12.11.2016 / 03:07
1
answer

Manage a webView ERR_UNKNOWN_URL_SCHEME

Hello, I have a problem with my application when I press the whatsapp share button, it generates the error net :: ERR_UNKNOWN_URL_SCHEME, and apply the code in my application, which is as follows: mWebView.setWebViewClient(new WebViewClient(){...
asked by 14.09.2017 / 16:02
1
answer

Know if a mail exists or not in Node.js

I'm doing an API that receives a JSON with various information of people, inside those an email, I need to validate if the email has the correct format, if the domain is correct and if the correct one actually exists in that domain. This is t...
asked by 07.09.2018 / 18:34
1
answer

What is this error that I get when I use socket.io?

I have created a API that uses socket.io : const socketIo = require('socket.io'); const serverHttps = https.createServer(httpsOptions, app).listen(httpsPort, () => { console.log('HTTPS: Server running at ' + httpsPort)}); c...
asked by 21.03.2018 / 19:08
1
answer

Return Json to the client

I explain my code a bit: I have a form that worked under PHP and to learn what is happening to GO, it turns out that I want to verify if a person is already registered, with which I ask for your ID and launch the action "ExistencePersona". I...
asked by 09.02.2018 / 15:22
1
answer

How can I know the data of a PHP API?

A silly question as I can know the data of this Api using PHP this function foreach I'm forgetting how to use but what I want is to know the name and price_usd $tick = file_get_contents('https://api.coinmarketcap.com/v1/ti...
asked by 11.01.2018 / 17:40
1
answer

MercadoPago API does not take the test card offered in the documentation

I am trying to make a trial purchase from the production link (having defined the sandbox_mode (TRUE) before): $mp = new \MP(BASIC_CHECKOUT_CLIENT_ID, BASIC_CHECKOUT_CLIENT_SECRET); $mp->sandbox_mode(TRUE); but when I try to make the pur...
asked by 11.03.2017 / 18:22
1
answer

API Youtube V3 JSON - PHP

I want to get dynamically with the title of the post, the "videoId" of youtube on my page to show the automatic videos:   link <? $nombreproducto = $product->name; $googleApiUrl = "https://www.googleapis.com/youtube/v3/search?pa...
asked by 03.01.2019 / 13:22