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
6 views

Call Rest TaxJar API from SQL Server Code

I'm working on calling TaxJar API from SQL Server, I saw some articles like: calling an api from sql server stored-procedure but unfirtunately I did know how to pass a Token value to the call Here ...
1
vote
0answers
15 views

How to get the number of map markers per country - ReactJS

I'm working with the Citybik.es API (http://api.citybik.es/) to show data on a Leaflet map. At the moment, the code is showing every item in the map, but after analysing I would like to organize the ...
0
votes
0answers
5 views

Get Google Drive ClientID

I want to add my Google Drive Client_ID on javascript file when I login in my project. When I get this value,I can upload or download files in drive. I can not want to add my Client_ID manually.Since,...
0
votes
3answers
46 views

write() argument must be str, not bytes python

I am new to python. I got this pre written code that downloads data in to report. But I am getting the error "write() argument must be str, not bytes". See below code def _download_report(...
0
votes
1answer
5 views

What does it mean “unable to get source run” while connecting to Wercker api?

While trying to trigger a Wercker CI/CD pipeline via API, I got the following error: { "error": "unable to get source run", "message": "unable to get source run", "code": 13 } My command is: ...
0
votes
0answers
9 views

Are there strategies pass to the API what can user do with the enitiy field using HATEOAS?

For example we have entity object: { "id": 10, "name": "First object", "status": "new", "manager_id": 200, "links": [ { "href": "self", "type" : "...
0
votes
1answer
21 views

undefined local variable or method `api' for main:Object (NameError)

Hi guys i'm new on RoR and have question, i'm getting this error on my Terminal when i'm trying to run > ruby api_controller.rb undefined local variable or method `api' for main:Object (NameError) ...
-2
votes
0answers
8 views

google map search bar show differenct result

I have tried the google map API integration and have successfully integrated but when i search address its show limited address but on the other site its show more result with the same query when i ...
0
votes
0answers
8 views

User32 Windows UI Api on Universal Windows Platform

I don't have a lot of experience on UWP programming and i built an app does some stuff on Bluetooth. Now i have to cary some info through APIs. But somehow "SendMessage" doesnt work. Here is the code ...
-1
votes
0answers
7 views

How to access path without “/” on the end?

Please Help me, I have catalog with API and I need to access this path localhost/api/auth Now I have folder auth in folder api, there's index.php. I thought it should work, but it's not the same path.
0
votes
0answers
6 views

Traveler Information API - Anybody know how to access the below url with parameters like limit, offset etc

API list: http://wsdot.wa.gov/traffic/api/ There are some class documentation, but they are not telling how to access those functions. http://wsdot.wa.gov/traffic/api/Documentation/index.html Get ...
1
vote
1answer
5 views

How can I change the mirroring settings in Gitlab over the API?

I want to change the Gitlab mirroring settings for each of my repositories. Is it possible to do this over the Gitlab API? The options the Gitlab WebUi allows, are the following: How can I change ...
0
votes
1answer
13 views

How to generate token for WebAPI who is hosted on Azure AD?

I have one api which is hosted on azure AD. I have below code inside Startup.cs public partial class Startup { private static readonly string ClientId = ConfigurationManager....
0
votes
0answers
9 views

how to add woocommerce fee_lines meta

I am currently working with the woocommerce api adding some custom fees. I noticed when querying the api that fee_lines take meta data too: [fee_lines] => Array ( [0] => Array( [id]...
0
votes
1answer
17 views

How to deal when calling a wrong endpoint using app.get?

I have several endpoints defined. I am doing the automation of all of them and in addition defining some scenarios where I should get an error. For instance, one of the endpoints is: '/v1/templates'. ...
0
votes
0answers
5 views

How to store complex meta data using Asana's external data feature

Background My organization uses the Asana platform to coordinate our work efforts. I have been leveraging Asana's API to automate a number of our daily operations and as well integrate Asana's ...
1
vote
3answers
40 views

.map() only displaying the last item from array

I want to use the Citybik.es API (http://api.citybik.es/) to show data on a Leaflet map. At the moment, the code is only showing the last item from the bikeData.map(), inside the render function. ...
-2
votes
1answer
19 views

Remove Google Maps Completely from Prestashop 1.6

Since I am not using the built-in Google Maps functionality in PrestaShop 1.6, I was wondering is it possible to completely remove Google Maps scripts from loading in the front-end? There are couple ...
1
vote
2answers
18 views

Javascript filter table with API

so I'm trying to filter the data from the table after i get from api, but it didn't work. here is my example of code, can someone help me about filtering data from table using javascript. thanks ...
-2
votes
0answers
25 views

How to avoid deadlock if the concurrent updates happen to a particular table from WEB API [on hold]

In my MVC Web API, for every 4 seconds I am getting 60 request from 60 devices now which is likely to scale up in the future as my device increases. The API is trying to update the data in the DB ...
0
votes
0answers
8 views

SP 2013 adding users to SP group through API not giving permissions

I'm using the SharePoint 2013 API to add users to a groep 'Site eigenaren', which means they will get full control on a site. After calling the API, they are visible in the UI in the SP group, but ...
1
vote
2answers
17 views

clickhouse data insertion through API

I can get data from the clickhouse database using get method, Similarly i want to insert data using post method . Is their anyway to do like that
0
votes
0answers
15 views

API'S REST Results: Save in Cassandra/MongoSB or cache un Redis?

I need to consume many API's (Twitter, Reddit ...) and show the result on the front of my website. For example: Get all tweets with #reddit hashtag and show them on the web. Two ideas in my mind: ...
0
votes
0answers
20 views

Facebook API {“error”:{“message”:“(#100) No matching user found”,“type”:“OAuthException” Checkbox Plugin

I am trying to use the feature of the checkbox plugin. I manage to make the checkbox rendered. A few days ago, I managed to send some basic text 'Hello World' to the user. But now I'm not able to send ...
0
votes
0answers
44 views

get parameter from response API

I got a problem when retrieving the parameters of the response. Anyone can help? :( this error on console : katalog_laporan:1837 Uncaught TypeError: Cannot read property 'MENU' of undefined ...
0
votes
0answers
4 views

HTTP header to force notify that access to API endpoint failed

Is there a way to force some HTTP Headers that will cause the client as: http request failed? For example, API endpoint receives a request to save the data, using $htt. Server attempts to store the ...
1
vote
1answer
22 views

php curl requesting twice

I have a limit of 25 requests/min from PUBGs official API. For some reason instead of it requesting twice for each search its using up 4 requests. I can't figure out why. I have checked that the code ...
-1
votes
1answer
14 views

REST API POST data is not reaching index.php [on hold]

Having a really frustrating time with REST API. Looked everywhere online and have not found any answers for a very straightforward and surely common problem. I am trying to build 'Clean' urls for my ...
0
votes
0answers
12 views

Create a php based webhook for syncing google events using Google Calendar API [on hold]

I'm currently creating a web application which authorizes user using Google calendar API. The web application reads the google calendar events and display them . Now i would like to sync my web ...
0
votes
0answers
14 views

How to get more than 10000 results through sonarqube web API [on hold]

I`m doing some research using sonarcloud. I need to get more than 10000 issues result through url https://sonarcloud.io/api/issues/search?languages=java, but the response is ‘msg":"Can return only the ...
1
vote
1answer
19 views

Python - post request fails when using requests

When using the shell, I can successfully create a new user by running curl --user administrator:pasword "Content-Type: application/json" https://localhost:8080/midpoint/ws/rest/users -d @user.json ...
0
votes
0answers
14 views

SeekerAPI - What is it and how do I use it? [on hold]

I am working on an API project retrieving job listings from Monster.com via ftp to be referenced on a WordPress Website. One of the tools I am told I have at my disposal is SeekerAPI. I cannot find ...
0
votes
1answer
15 views

Know geographical origin of Facebook post reactions

I administrate a Facebook page, and, for a particular post, i'd need to know where post reactions came from. For example, "you got N sigh reactions from Italy and M from Germany, while you got X grr ...
-1
votes
1answer
23 views

I get a 404 error when making a Fetch Get Request [on hold]

I am trying to get some weather info from a weather api. When I load this fetch code in Chrome's console I get a 404 error. const getWeather = () => { return fetch('api.openweathermap.org/data/2....
0
votes
0answers
7 views

How to make Quickbooks online api (batch) bill creation with sales tax column visible like how the GUI does?

API bill creation doesn't visible display the tax information bill creation through the GUI does. https://developer.intuit.com/docs/00_quickbooks_online/2_build/60_tutorials/...
0
votes
1answer
18 views

Riot API With React Im not geting any json back

Can anyone help me what am I doing wrong I can't get objects from this (API key is not in the code). Some Suggestions for how to learn API would be nice. I want to at least console.log() the JSON and ...
0
votes
0answers
19 views

Tumblr API - How to Create a Link Which Displays Open Graph Protocol Data From Linked Site

I am using the official Tumblr Python library and I am trying to create a link of which displays the Open Graph Protocol data for the linked site. When I copy and paste the link manually via their ...
0
votes
0answers
10 views

Not able to map nested elements in API gateway

I am trying to map the elements in the integration request mapping for a PUT function in the dynamoDB. But for some reason, I cant get the map elements to work. Is there a specific way I can make them ...
-3
votes
1answer
7 views

Can I do IAP services for an account opened in Morocco [on hold]

I have an account developer opened in Morocco and I want to ad IAP in an app. I did some research and I found that Morocco is not allowed to do IAP services. I’ll be grateful if you could confirm this ...
0
votes
0answers
11 views

apk crashes in API 23

Applicacion has a Webview, a tool bar and a action bar with a search view nothing else. the only permission is internet access. I compiled the application for API 24 and it works great, On an ...
0
votes
1answer
36 views

Rest API end Point

Why can't I use TreeMap<String,String> after @RequestParam ? It works when I use Map<String,String> Example: @RequestMapping(value = "customers/new", method = RequestMethod.POST, ...
0
votes
3answers
21 views

Getting different json response when using fetch react native

I have a react app which calls an API when the user clicks login. However, the response that react native receives is different than the intended response. React Native code: login() { this....
0
votes
0answers
18 views

Upload file from angular 6 to laravel 5.4

I'm trying to upload file from my angular app to laravel backend API.. When I uploaded it from Postman, there is no problem. But when I uploaded it from my angular app, the image is empty.. this is ...
1
vote
2answers
23 views

Laravel Vue.js API: axios' PUT method doesn't send any data to controller

I'm trying to update some data in Model using API in Laravel and Vue.js but I can't do this because axios doesn't send any data to server, I'm checking the data right before sending and they exist (I ...
0
votes
0answers
10 views

GMail API call to trash returns “Invalid id value”

Newb here trying to trash an email from inbox with GMail Python API. Here is what I have: 24 try: 25 service.users()....
0
votes
0answers
17 views

Getting undefined error when trying to get video duration from YouTube API

I am using the YouTube api npm package to connect to YouTube and play videos programatically. I need to retrieve the duration of the video that has loaded. The Api notes state that duration and ...
0
votes
0answers
7 views

how to solve xhr call, its working on postman

Would be really appreciate if someone help me out, i successfully able to call API via postman (Method POST) but not getting via XHR, i am sure i am doing something wrong. I am getting 500 (Internal ...
0
votes
0answers
2 views

Woocomerce JSON REST API get products orderby menu_order

I have created a mobile app connecting to a woocommerce store I wanted to sort products using menu_order that is defined for each product unfortunately there is no such variable for sorting with ...
1
vote
1answer
13 views

Validate array within an array case with BDD karate

Using the karate bdd plugin for automated testing cases along with cucumber. Facing a trouble validating an api structure having an array list within an array. How to validate the valuesets array in ...
2
votes
1answer
18 views

How to implement complex conditional bulk partial updates via JSON API?

There are POST and PATCH methods in HTTP protocol for partial updates. On the PATCH method for JSON API there are RFC 5789, RFC 6902, RFC 7396. But I have a question specific to large resources that ...