Questions tagged [api]

DO NOT USE: Tag with the library you mean, [api-design], or something else appropriate instead. Questions asking us to recommend or find an API are off-topic.

0
votes
0answers
10 views

Retrieve domain name from node in shared hosting

Hi have a NodeJs app in a shared hosting, where I'm trying to make API calls. Lets say my domain is example.com. 'http://localhost:' + global.PORT_SERVER + url + id This works in local, because ...
0
votes
0answers
7 views

what is instagram api oauth2 and how to use it for login form?

There is task needs to be done for client, which requires login form using instagram api Oauth2, I don't know what is this and how to use this in login form?any one please help.
0
votes
0answers
3 views

I need to know ALL playlist's info (Link, name, last update, tracklist) made by any USER where a song by the artist XXX has been included form spotify

I need to know ALL playlist's info (Link, name, last update, tracklist) made by any USER where a song by the artist XXX has been included from spotify api
0
votes
1answer
5 views

Is it possible to use Jira api with “in-page” auth?

The idea is I want to be able to make requests to jira api to e.g. create new issue, but I don't want to hardcode user credentials in my web app, nor in the request itself. When a user clicks a ...
0
votes
0answers
10 views

Are there APIs to add filpkart checkout from other website?

Do Flipkart provide any API to add the Flipkart products listed in my page to Flipkart cart for checkout
0
votes
0answers
6 views

GitLab api: how am i able the get the list of projects using gitlab api?

i was trying to get the list of projects in my gitlab using Git api. for that i was following Git lab api instruction. they said i can access the list of project by this link: https://gitlab.com/...
0
votes
0answers
11 views

Strava Api token Android

I have authorized my app with Strava and i want to take my token from it.The problem is that in this code LoginResult result = api.getTokenForApp(AppCredentials.with(29519, "...
0
votes
2answers
22 views

How to instruct REST API to include additional data for given resource

I've implemented a GET request as followed: https://api.com/invoices?filter[status]=paid&include=client Current situation: Fetch invoices with status 'paid' & include client data for each ...
0
votes
2answers
28 views

Modifying API script to stop while loop when counter > x in Python?

it is my first time posting here so forgive me if my question is not up to par. As part of my job duties, I have to run API scripts from time to time though I really only have a basic understanding of ...
0
votes
0answers
7 views

Securing microservice API behind Kong API gateway

I'm experimenting with Kong API gateway. It has nice features such as API key and HMAC authentication via plugin, so I don't have to implement my own security into each of my API. But it seems to be ...
0
votes
0answers
3 views

#APIDocusign 400 Bad request on Production while working fine locally

I am making API call in xml format. Using url as http://www.docusign.net/restapi/v2/login_information and production credentials details, I am retrieving accountID and Baseurl then i am trying to ...
0
votes
0answers
5 views

foursquare api return Consumer disabled

We got problem when integrating foursquare api, when our user try to login by foursquare, it got error like Array ( [meta] => Array ( [code] => 403 [errorType] => not_authorized ...
-3
votes
1answer
20 views

When i am entering the IP address in my postman i am getting data in the postman from my api?

When I am entering the IP address in my postman I am getting data in the postman from my API but it is not showing any messages in my VS code console like this "GET /newmealschedule?date=2018-10-23&...
0
votes
0answers
36 views

Array Of Array in ionic (Angular) [on hold]

Im building an Ionic app, this app call an API, the response they send me is an array of object and I change the response in an array of array As you can see I have an array of array But in my ...
-1
votes
0answers
5 views

CORS - Why preflight requests are sent in only browser? [duplicate]

I need to know how CORS works exactly. Why CORS is checked only in browser? Is it only checked on client side? Why the same requests sent through postman, succeeds even if CORS is not handled in ...
0
votes
1answer
16 views

How to upload an image via api and store it into database using Springboot + Hibernate

I want to know how to upload an image via API and store it into DB using Spring boot and Hibernate.
0
votes
0answers
5 views

pyvmomi get total cpu, memory stat of vcenter server

I am able to get cpu memory of different objects like hosts, datacenter through the api. But i need the total CPU, memory statistics of the whole vcenter as shown in the pic below using pyvmomi. Any ...
1
vote
1answer
10 views

Exposing oAuth 2.0 client ID and API key for Google API

Is it fine to expose API Key and oAuth 2.0 client ID in the front end when consuming Google API. Google Picker.
0
votes
0answers
5 views

Netsuite Suitetalk: How to get all the customers whose account balance has changed

Customer lastModifiedDate is not updated if you create cash sale/invoice of particular customer in Netsuite. customer balance is changed but customer lastModifiedDate is not changing. how can I get ...
-1
votes
0answers
20 views

Connecting R to LinkedIn API [on hold]

I would like to know if anyone is currently extracting data with R from LinkedIn API. Any help will be appreciated! All the best.
0
votes
0answers
31 views

angular loop with separate arrays

I have these nested ng loob to print some property and use some propert to check a condition but it does not work my Template : <ion-list> <ng-container *ngFor ="let publisher of ...
-1
votes
1answer
11 views

How i display the json array data from api [duplicate]

Below is my data get from API , I try to display the shopId, Shopname and shopcode but failed.Any one can help me solve this problem ? I am using the PHP to write the script and get API data.Below is ...
0
votes
0answers
14 views

Is it safe to use the Google Drive Rest API from the client browser with javascript?

I have a web application with a database on a VPS with Ubuntu. The idea is to save with the transfer of data that they charge, placing the images of the file of articles in Google Drive, where they do ...
0
votes
0answers
8 views

Get property of Google Sheet API using POSTMAN

I was able to connect to a Google Sheet using REST API and change a value to bold using the following tutorial: https://developers.google.com/sheets/api/samples/formatting However, I did not find a ...
0
votes
0answers
7 views

Can't resolve ServiceNow incident using REST API

I use ServiceNow REST API in my application. I need to resolve existing incident. For this purpose I use PUT method and I can update some fields like short_description. But if I try to update state ...
0
votes
0answers
12 views

Not able to return data from ajax request [duplicate]

Here in this script, I am making two ajax request. In the first request, I will get the gender of the user based on his name. And in the second API, I will show user random pics based on his gender ...
0
votes
0answers
29 views

My app keep stopping when I use the API cat facts

I did an tutorial about using API to load sentence into my app.Develop a Chuck Norris Facts Android App with KotlinDevelop a Chuck Norris Facts Android App with Kotlin but I found when I want to use ...
0
votes
2answers
26 views

Change the url dinamically to switch between apis key with an if statement

Here's my problem: I need to send some data from a CRM to another. Now the problem is that the URL has to be dynamic because unfortunately, it has different API keys. So let's say that I want to ...
0
votes
1answer
9 views

Embed Google Analytics Map View using API

I'm trying to display the "Active Users on Site" count and their location on a US map. We have Google Analytics installed and our dashboard is picking up live data. I'm trying to insert this onto a ...
0
votes
1answer
48 views

Am I running into a CORS issue?

I have followed this tutorial to set up Laravel & Laravel Passport. In order to test calls to my api I used this test client in a different directory on my server: <?php require "vendor/...
-2
votes
0answers
13 views

I can't create order in shopify by dan/shopify-api

I try to create order using $params = array( "line_items" => array( "variant_id" => 16036046405701, "quantity" => 1 ) ); Shopify::api('order')-&...
0
votes
1answer
15 views

API calls #LinkedIn for r_basicprofile

I have read carefully the LinkedIn developer documents regarding API calls, following the documents, I was able to request the access code, exchange it with server and manage to get access token. ...
0
votes
0answers
19 views

“Server Error Problem” in Node.js API (for android to web server request)

"Server Error" in nodejs api (android to web server request) I am a new node.js learner. I'm doing a project that user are registration by android application, and user details will go to web server. ...
2
votes
1answer
22 views

How to Add a Reference to a Web Service in NodeJS

Is it possible to add Web reference in NodeJS project as we do in .NET framework Web API Projects? Basically NodeJS API project will act as a middleware between Front End and XML Web service.XML Web ...
0
votes
1answer
20 views

Inter service communication in Microservices

I understand the Event-Driven Architecture where a service subscribes to the events for inter-service communication. An event can be triggered when an entity is created/updated/deleted.. but how can ...
0
votes
0answers
31 views

How to authenticate user, logged into main app, to access API on another server?

I want to refactor my Ruby on Rails application and split it into 2 parts. Currently, it's a monolithic app that incorporates user registration/authentication, resource management, report sending by ...
0
votes
0answers
8 views

Automate push notifications for specific data in API

I use an "external" forex API I need to make my project firebase messaging notifications send push notification automatically when the price of specific chart hit the price that user record it in ...
0
votes
0answers
6 views

Clockify API: Group Report by Project and aggregate by Task

Calling the REST-Api, I want to get a list of tasks with their corresponding summed tracked time grouped by their project. As an example, if I have the following time entries: 2h, Task1, ProjectA 1h, ...
0
votes
0answers
16 views

ValueError: Output tensors to a Model must be the output of a TensorFlow `Layer` (thus holding past layer metadata).

Encountering an error using the functional API of keras from within TensorFlow. The layers compile fine until I attempt to initiate the Model object (tf.keras.Model) at which point I receive the below ...
1
vote
1answer
34 views

How can I get the number of online users now in my app [on hold]

is there any website to get online users now in my app or any good idea? I tried to using onStart and onDestory but do not work well Are there other ideas
2
votes
1answer
24 views

Strava “Problem with Authorization Callback Domain”

I have a problem when i try to connect to strava.I don't know what to put in the Authorization Callback Domain.I put localhost or 127.0.0.1 When i run the app i got the following error Here is the ...
1
vote
1answer
13 views

Flash messages for REST API

I want to build REST API using Express. Aside from resources there are endpoints for authentication stuff like signup, signin and user option (the view templates are loaded). It's common practice to ...
0
votes
1answer
26 views

How to set an environment variable from the Response Body in Postman where the concerned keyword is hyphenated

I am trying to set an environment variable by capturing a node from the Response Body of an api, where the node contains two hyphenated words. My script is - postman.setEnvironmentVariable("Token", ...
0
votes
0answers
32 views

PHP - curl_multi gives a 400 Bad request

With my code I receive data from a website. I want to transfer this data into database fields via a REST-API. This should work with cURL (PUT). So I need several cURL's run in my script to fill ...
0
votes
0answers
13 views

GET external API uisng lotusscript in Domino [on hold]

In Domino, I need to let External API know document is updated and provide it with updated Document reference. How can I achieve this?
0
votes
1answer
35 views

How to get collection with Trashed Laravel Resource

I have a problem I try to get list of posts with trashed posts through Resource API. Code example here public function index(Request $request) { $perPage = (int) $request->get('per_page'); ...
0
votes
1answer
20 views

File converter API for java EE

I'm searching for an API for java which allows me to convert PDF and doc files to txt files. I searched on google but i didn't find one corresponding to my expectations. Regards
0
votes
0answers
22 views

how to get athletes data and trips from strava API?

I would like to know how to retrieve users data from strava to my android app.I have this code ExampleAuthActivity.java public class ExampleAuthActivity extends StravaAuthenticateActivity { /**...
0
votes
0answers
6 views

FedEx API Open Shipments - is there any method to get a list of all Open Shipments?

I am using FedEx API to create Open Shipments in their system using openShip method. I need to know if there is any method to get a list of all Open Shipments from an account. They have a way to ...
-1
votes
0answers
11 views

Why am I getting a playback error when I attempt to create a modal for embedded videos?

I have been trying to create a video modal using vanilla css and jquery for youtube videos. I am pulling the video ids off of the youtube api and have set up links to click on. Everything is ...