返回首页

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

How to Synchronize POS system with Inventory in an online store

I have this client requirement to integrate their inventory(which using for online clothing store developed in PHP) with the POS system(has an API). My question is, how can I keep consistency in these ...
0
votes
0answers
6 views

How to call another response (get) in tests if response give 440 or not found

I have one session-id set to an environment variable and i need to replace when my script gives 440 what is the correct way to call another request in tests
1
vote
0answers
12 views

How can I add code about token is expired in kotlin?

D/OkHttp: {"code":60200,"message":"Token is not valid"} ->Token is not valid. so I want add content about token is expired and then go to mainactivity. enter code here private fun startLoading() {...
0
votes
0answers
7 views

How to setup laravel web api to visual basic user?

i make a simple web service with json to get data from my database here is the route Route::get('marketing_officer','APIUserController@marketing_officer')->middleware('auth:api'); and here is ...
-1
votes
0answers
11 views

(ssg-wsg) What is the encryption algorithm for payload encryption used in SSG-WSG Developer Portal?

I tried to create an MTLS app according to the guide listed in the SSG-WSG website, and was trying to use an payload encrypted API but I'm not sure how I should encrypt my payload. The Skills ...
1
vote
0answers
13 views

Flutter Form from REST API JSON for offline use

I need to do something like this using Flutter and I have no idea how to do it or even where to look for clues so I will appreciate any help. Flutter app gets JSON data from REST API Data is written ...
0
votes
1answer
14 views

How do I remove HTML characters from the data fetched from a WordPress API endpoint in a React Native project?

I am working on a React Native project that requires that I fetch posts from a WordPress website, this is my code render() { if (this.state.isLoading){ return( <View style={{flex: 1, ...
0
votes
1answer
32 views

Create React App production build not listening to backend API

I have a backend Node API Express server and a React app in two separate folders (one for backend, one for React app). My backend runs on localhost:8000 and on my React app I have a proxy to this ...
0
votes
0answers
9 views

Python connection to QuickBooks Online

I tried several options to connect to QuickBooks API 3. and tried to follow steps on doc. But I'm still blocked on the step bellow. How can I have a token. As I did not received anything from QBO ? ...
1
vote
1answer
15 views

How to return image as part of response from a GET request in Flask?

I have a basic Python Flask API set up right not that takes an ID as a parameter for a GET request. Inside the get request logic, I am doing a get request on another resource to retrieve an image ...
0
votes
0answers
14 views

Easy way to check the String encoding

Recently I have integrated with the api http://kodpocztowy.intami.pl/api/ to fetch polish cities by the postcode. Using the testing tool (postman) everything is displayed OK, but after the integration ...
0
votes
0answers
7 views

OpenWeatherMap API Doesn't Generate Data

For the past few weeks I've been trying to pull data from openweathermap with my api key. Every time I run tests, I get a KeyError. When I try to run the whole notebook, I get the below: Beginning ...
0
votes
0answers
12 views

How to edit string in key value paring on client side. (Paypal checkout demo)

I have a small online business where I'd like to implement an online payment system. The one that I've settled on is paypal and they have an easy to use solution found here: http://developer.paypal....
0
votes
0answers
16 views

mssql in nodejs is returning Login failed for user {capped username} using express server

Code First const dbConfig = { user: 'SqlUser', password: 'pass', server: 'server', database: 'db1', options: {encrypt: true} }; const newdbConfig = { user: 'sqluser', ...
0
votes
0answers
23 views

How to pause HTML & JavaScript document load until AJAX query results are in?

I have been using an AJAX query in my JavaScript code, and want my HTML & JavaScript code to pause loading until the results of the query are in. Is this possible? I believe async functions ...
0
votes
0answers
9 views

Using Axios to make a request to Udemy API with a bearer token not working in JavaScript

I simply want to make a request to the Udemy API and show the courses that I am learning from my Udemy account, but I am struggling to connect to their database. I believe it has something to do with ...
0
votes
0answers
9 views

How to make the form such that only registered user whose username is on database can access the welcome form?

I’m working on the log-in page of an app using React. Currently, it takes in the Name inputted by clients. I'm trying to create the form so that only if the person's name is already registered in the ...
-1
votes
0answers
16 views

Failed access to nested object in object returned from Unsplash API

I have problem with accessing nested objects in Unsplash API. <h1>Description: {this.state.photo.likes}</h1> <h1>Views: {this.state.photo.views}</h1> works fine, but when I ...
1
vote
0answers
20 views

How to get a collection that is in a document of another collection in firebase

So I am creating an API in firebase and in the database there is a collection of universities. Inside this collection there are multiple documents of universities. In each document I've created a ...
1
vote
1answer
19 views

Looping over list of states and appending before exporting to a csv in R

I'm looking to use the getCensus command to grab information from a series ID for all tracts in every state in the US. The Census API doesn't let you do this automatically (only lets you get all ...
0
votes
1answer
25 views

vuejs axios api nested array display data in template

I am trying to pull data from an api that has an output like this -- Array ( [lastUpdate] => 1571616000 [lanuage] => en [data] => Array ( [0] => Array ...
0
votes
1answer
20 views

How to pass an argument (args) to a `request.get`?

I'm trying to find out how to pass an argument (args) to a request.get. I know how to pass a token to the HTTP header like this: request.httpMethod = "GET" request.setValue(token, forHTTPHeaderField: ...
-1
votes
0answers
11 views

Yelp GraphQL Using Python - Return top 50 dentists in a given city

I am new to APIs and trying to figure out how to return 50 dentists in a given city/location. I want to sort the results by the best_match criterion. I then want to sort the returned list of dentists ...
0
votes
0answers
11 views

Create Link to preloaded shopping cart on Drizly

Is there a way to create a link that loads predefined shopping cart on the Drizly (http://drizly.com)? For example, when user clicks a link, I want them directed to a page that already has a ...
2
votes
1answer
30 views

How to get random post from reddit

I want to get random post from http://www.reddit.com/r/creepy/ When I request http://www.reddit.com/r/creepy.json I can get the first 27 posts from the subreddit. In the json response there is this ...
1
vote
0answers
56 views

Handler “aspNetCore” has a bad module “AspNetCoreModuleV4” in its module list

I am deploying DOTNET Core APIs on IIS. That time gave me this type of error. Handler "aspNetCore" has a bad module "AspNetCoreModuleV4" in its module list I created that APIs using .NET Core 3....
1
vote
1answer
17 views

Eventbrite API list events 403

I'm trying to fetch events base on time from Eventbrite API with the following command from the docs curl -X GET http://www.eventbriteapi.com/v3/events/search?date_modified.range_start=2018-01-...
-1
votes
0answers
13 views

Syntax for playing a video in objective c using AVkit

I wanted to create a video player using AVKit and AVFoundation but I was unable to find any documentation related to Objective C. I already have a MPMMovie player implemented I just needed to migrate ...
-2
votes
0answers
13 views

How to use API credential in HTML5? [duplicate]

I have an API credential of a certain website with a base URL, an application ID and an application key. Is it possible to use it directly in a webpage that is written in html, css, and javascript?
0
votes
0answers
8 views

how it can be get the chat from Twitch videos via API or TMI.JS, I don't mean live streams?

I am looking for how to get chat from videos on Twitch using the API. I have searched TMI for some solution and in the API but without much luck. I have looked if you could make scrapping web using ...
-4
votes
1answer
20 views

How to connect with Web Api Spotify (in Java)?

I'm using IntelliJ IDEA. I'm very beginner so I don't know how to connect with Web Api Spotify. Please, help me. Teach me step by step with code.
-2
votes
0answers
27 views

i want to use excel vba with an api [on hold]

I have a discord server that shows trading alerts using webhooks from tradingview alerts i wanted to make an excel file where I can see the profitability of each past signal. so I'm thinking of ...
0
votes
0answers
22 views

Access Heart rate sensor by Google Fitness API and Display Results

I'm working on smartwatch application that record heart rate by Google Fitness API, and also I want to display heart rate on smartwatch screen but until now I just write how to record sensor data ...
0
votes
0answers
17 views

Ajax returning 422 Status code in my call script

I am trying to test my .ajax script but I am running in to an issue. As I am a beginner in web development, any help would be much appreciated. Here is my code below: $.ajax({ url: '{{ ...
0
votes
0answers
18 views

How to load more data in ng-repeat if there's not enough?

I have a filter in ng-repeat and ng-if condition and there almost always will be less then 10 results per page (10 results is what I get from API). My idea is that in js file should be a cycle with ...
0
votes
0answers
9 views

how can i save data to mockapi serve?

i learn ReactJS, And i have homework task. I need create chat. And i need use mockApi server. I chose Mockoon. Server works fine and i can see my data at React app. But how can i save my data to Api? ...
0
votes
1answer
27 views

Authenticating API Request outside of Postman using Python

I am using an API for a portfolio management software and have been provided some documentation on how to implement it through Postman. The results come clean through Postman, but when I try to ...
1
vote
1answer
19 views

GET request from 2 APIs in one function (JQuery)

I'm trying to build a page based on CoinGecko APIs. I was asked to make two different GET request using JQuery, one without parameter, and one with id parameter, but I can't write everything correctly ...
0
votes
1answer
16 views

How to pass separate fields to template via render

Here is my get function. I'm sending whole serialized object to the template which is not letting me use fields separately in template @api_view(['GET']) def get_employee(request): emp = ...
0
votes
0answers
25 views

How to merge new json data to existing parsed json data?

I'm a newbie in programming world, especially Swift. Now I am using Swift 5 in Xcode. By following code below, I successfully get JSON data from API and put it in Table View. // Model.swift struct ...
0
votes
0answers
12 views

Access Token From Pinterest API Not Being Returned Using Rails

In localhost environment/development, I am having trouble getting the access_token from pinterest (based on the authorization_code) in order to pull board and pin id's. Pinterest returns the code from ...
0
votes
0answers
10 views

Finding appropriate Smart Home platform for external development

I'm trying to develop web application that would control certain functionalities in home through smart home devices (switches, lights, water heater etc). However, since there is giant forest of ...
-2
votes
0answers
28 views

How do I access request body in rails api when using it with React in Frontend

So I am sending some data from my React Frontend to Rails Backend and I can access the data by using the syntax request.raw_post or request.body and the data which I can see in the console after ...
0
votes
1answer
22 views

How can I host Angular frontend and Laravel backend messenger bot with many users

I'm starting a new SaaS, where shop owners can register and make their own Facebook messenger chatbots. The project consists of: 1- Frontend(Angular): Where shop owners can connect their facebook ...
0
votes
0answers
15 views

How to get api result before open activity (waiting screen)

I had two activities in the first time, the first one and the Main one that opens allow the user to choose a parameter (student informations) from a list then send it in a SharedPreferences to the ...
0
votes
2answers
36 views

How to set my value in input value react js

I was trying to set my value in input value but all the time I was getting undefined in the console and I wanted to set values from API in value but I could not so how to set values in input value ...
0
votes
0answers
11 views

Upload a photo on click/submit button

how can I get jQuery to execute on click instead of just when user chooses a file? I tried onclick and submit on line 2 instead of change, to no avail: js $('input[type=file]').on("change", ...
0
votes
2answers
19 views

While using request validation class through Laravgel API, Error Call to a member function validated() on null

I am using Laravel Request validation class to validate input through API Reference I implemented as it is mentioned in documentation and got the following error: Symfony\Component\Debug\...
0
votes
1answer
11 views

List countries and shipping cost in woocommerce

i want to return an array of countries with their shipping price in php. I already have the country list with : $countryClass = new WC_Countries(); $countryList = $countryClass->...
0
votes
1answer
64 views

Creating a relationship(OnetToMany) between 2 objects in reactjs

I have a database created in MYSQL that has two tables(Patient,Caregiver) that are connected with OneToMany mapping in spring boot. I want to create a Patient Object in react Js in front end( but I ...

返回首页
杏彩计划 杏彩官网 杏彩APP 杏彩走势图 杏彩下载 杏彩官方 杏彩网站 杏彩怎么玩 杏彩官方 杏彩靠谱吗 杏彩代理 杏彩骗局 杏彩投注 杏彩倍率 杏彩开奖 杏彩漏洞