Questions tagged [api]
DO NOT USE. Use specific tags like [google-cloud-platform], [facebook], [amazon-web-services] instead or [api-design] where applicable. Questions asking to recommend or find an API are off-topic.
106,593
questions
0
votes
0
answers
8
views
error evaluating code , php , xdebug , api
Hi I've got this error when trying to evaluate an api function returning balance using remote developement in phpstorm , in local I dont get this error error message
php settings from remote
php ...
0
votes
0
answers
8
views
Xamarin ListView ObservableCollection scrolling
I am currently looking at options for an infinite scroll for a ListView/ObservableCollection with an API datasource.
So far, I have the stored procedure working as desired, as well as the API calling ...
-2
votes
0
answers
9
views
Php Api signature on crypto.com exchange
I tried everything possible.
something is wrong i don't understand why, the documentation is bad.
here is the code:
$api_key = '111';
$api_secret = '111';
$base_url = 'https://api.crypto.com/exchange/...
0
votes
0
answers
5
views
Manage PHub video playing with Python
I’m trying to manage request/response of a video streaming from PHub with Python. I don’t want to view video but only manage the appropriate req/resp to simulate.
I’ve tried to use request but I don’t ...
-1
votes
0
answers
6
views
Video files Protection By Automatic encryption in google drive
I've been asked to develop a system that dose the following,
have a Google Drive Source Folder where the videos get stored,
have a temp where the encrypted will be saved.
i created a server to use ...
0
votes
0
answers
13
views
How to send a file to an API that accepts audio files?
I have an application I prepared with React Native. In this application, I will make an API request and I need to send an audio file in this request. The audio file is available in the location I ...
-4
votes
0
answers
11
views
Trying to traverse my local storage with the back button or use refresh when the local storage reaches 0 after going traversing backwards [closed]
The go back button doesn’t seem to be going back through previous cocktails. I’m really new at this and it seems when I use dev tools it is saving to local storage.
I’ve tried some various operators ...
-1
votes
1
answer
12
views
how to grant client credential OAuth 2.0 in slim php
i am new and was trying to study api using slim php, recently i was introduced to postmen and found out you can test api prior to code which was interesting, and then i got more deep into it and found ...
0
votes
0
answers
9
views
API FaceDetection bounding box is coming back undefined and not displaying the box i've styled
I have a face detection application that I am making that uses Clarifai API to detect the face of an image that is input by that images URL. I will post the code in here that shows the FaceRecognition ...
-3
votes
0
answers
22
views
my tomcat server 8080 is started but i continue receive 404 error [closed]
i am facing a error in my API aplication, i already try to search in topics but did not work, my POST and GET request always return 404 error, i verify my mapping but i did't seen nothing wrong, my ...
-3
votes
0
answers
19
views
A level computer science project [closed]
My A level computer science project is a "Career path and exploration guidance system" where I will be using python. The program starts with a personality assessment to understand the person'...
0
votes
2
answers
95
views
Android ViewModel has no zero argument constructor, Kotlin Jetpack Compose
I am trying to make an app with API calls, but when I launch, it crashes with error, searched all over the Internet and couldn't find whats wrong.
Here is an error:
*Caused by: java.lang....
0
votes
0
answers
12
views
How to implement offline support to api with also saving favorite item list saved
i am building a app using Api, through which i fetched data that is blogs i displayed them in my app, added a favorite button to add a blog as favorite and displaying them in favorite screen using ...
0
votes
0
answers
7
views
Telegram send photo with caption with php not working
i have managed to send in Telegram the link and some message, but everytime i try to send the actual image, it breaks, and demands telegram.php of autoloader.php. I am in shared hosting and not able ...
0
votes
2
answers
25
views
Prevent React Component From Calling API Endpoint Twice
I have a POST endpoint that creates an instance on the database once the user creates an account, the rows are filled with information like day of the week, date, user_id, etc.
@api_view(['POST'])
def ...
0
votes
0
answers
11
views
retrieve IP information over bluecat restAPI
How can I get information from a specific IP 192.168.178.20 over bluecat api v2 the like MAC-address, host name and other related fields?
I tested the examples from the documentation:
GET http://{...
-1
votes
0
answers
29
views
How can I avoid Chrome to load a page in quirks mode, I can't specify the DOCTYPE because I need PHP code [closed]
I'm working on a PHP page, that has a GoogleMaps API. Sometimes it loads correctly, but normally I have to reload it 5 times untill the Map appears again.
Initially a banner pops that says that Some ...
-1
votes
1
answer
33
views
Class "Botble\Base\Supports\ServiceProvider" not found [closed]
I am installing composer require botble/api This package in my laravel project.
While installing i am facing this issues.
In ApiServiceProvider.php line 16:
Class "Botble\Base\Supports\...
-3
votes
0
answers
19
views
Is there a better way to format the JSON formatting portion that returns messages to me? ( Golang ) [closed]
im curious if there's any better way to format the json part that reads the messages i send in the group with the bot. The bot responds with hello anytime i say hi in the group. The code works fine ...
0
votes
0
answers
5
views
does Azure audit logs contain Internal API
External API are the ones which are published in the azure documentation and used by system integrators to develop Azure solutions
Internal API are the ones which are not published and intenally ...
0
votes
0
answers
22
views
Refactoring the code. This is a challenge for me [closed]
// How many ways can you think of to improve the execution time of this function?
// How many security exploits and worst practices can you find in this code?
// Are there ways to make this code ...
0
votes
0
answers
24
views
API not working in postman while testing it
Im Testing the API on Postman and The Error while testing the API that im getting in the console is 2023-09-29 17:14:53,673 68384308 [https-jsse-nio-8006-exec-8] ERROR c.w.e.service.EmailController - ...
-1
votes
0
answers
14
views
How to Authenticate and Access the Gmail API in Ruby [closed]
I hope the code to connect to the Google Gmail API helps you since I have been looking for information and there is not much for ruby so I will provide you with what I found
type here
require '...
0
votes
0
answers
10
views
Spring Security deprecated issue, rewrite old bean
I'm trying to upgrade to Spring Boot 3.0.0 and Spring Security 6.0.
I've found that method for securing requests authorizeRequests() has been deprecated. And also method csrf() and exceptionHandling() ...
0
votes
1
answer
40
views
How i make a website be used by multiple users at the same time? [closed]
I explain It Better. I code a simple token extractor for my Role players with HTML, bootstrap and JS vanilla. It Is very very simple, you choose the number of Dm token and the number of player token ...
-1
votes
0
answers
28
views
TMDB exporting to Xcode [closed]
I'm relatively new to programming and currently working on a project involving Swift in Xcode. I'm trying to export data from the TMDB API to create a database in Xcode. I've obtained the API Key, but ...
0
votes
0
answers
13
views
Where do I run python code for frame io api?
I'm not understanding this first simple concept if you could help me please.
I'm trying to learn the frame.io API to so some simple things like scrape comments using python.
I have a frame.io dev ...
-1
votes
0
answers
18
views
Retrieving OAuth response token from redirect URL in Unity C#
I am attempting to get OAuth2 to work with unity and am having issues retrieving the code from the redirect URL.
I am able to complete the authentication in my browser and the redirect URL is called. ...
-2
votes
1
answer
58
views
Gemini Private API
I am having trouble accessing the private API endpoints using Swift. I have tried to use Python as I am pretty experienced and I am able to pull the data from the API. I'm not sure what is happening. ...
0
votes
0
answers
23
views
FastAPI Endpoint Returning Empty Data
I am working on a FastAPI endpoint (/all) that is supposed to fetch data from a database and return it in response. However, I am encountering an issue where the response data is very less compared to ...
-1
votes
0
answers
8
views
how to get mcap of a coin/token
I want to get mcap of coin or token. Is this information exist on blockchain? If not I should use an API provider like coinmarketcap or coingecko. Otherwise, should I calculate circulation supply ...
-2
votes
0
answers
32
views
404 response from API, from otherwise working function [closed]
So I'm having a strange problem and I've tried searching and not found an answer so I hope it's not been asked already.
I didn't write the API but been using it. There is a function for getting data ...
0
votes
0
answers
8
views
Binance API how to get price ticker with specific date time
how to fetch with specific date or date time I have searched with api.binance.com/api/v3/ticker/24hr?symbol=BTCUSDT but I want to fetch with etc. api.binance.com/api/v3/ticker/1274123617?symbol=...
0
votes
2
answers
14
views
Randon value from 0 to 60 for jmeter http request
I want to pass 0 to 60 random value each time for my http request in jmeter. I'm automating APi request through Jmeter.
I have tried ${__RandomString(10,,randomID)} but request failed.
If anyone ...
0
votes
0
answers
16
views
Connecting spotify api with gpt 3 api on wordpress website
I'm working on a WordPress website and trying to make Spotify and GPT-3 play nice together on my site. It's a bit tricky, and I could use some help. I'm looking for an easy way to grab info from ...
0
votes
0
answers
22
views
How can I connect the mayanedms api to my django project?
I would like to connect MayanEdms api to my Django project.
Note that mayan is running on different port from my Django container (both are running Docker).
The problem I'm having is because, if I ...
0
votes
0
answers
19
views
Why is the ocelot api gateway when published runs on localhost:5000 instead of the base url?
I have an api gateway using ocelot (latest), when run in visual studio, it runs on the base url. But when I publish it into an exe it runs on localhost:5000.
This is my launchsettings.json:
{
"...
0
votes
0
answers
11
views
Im currently using the google maps JavaScript API, I want to use the geometry library to get the area of a drawn polygon
So our company is very strict on the budget. I hardly got them to give me access to the javascript API. now they want to get the area of the drawn polygon on the map. Using the geometry library its ...
-1
votes
0
answers
48
views
Laravel 10 SSO Server cannot access SSO Clients within iframe in different domains with user autologin. Works perfect in local using different ports
My actual requirement is just like an Google Auth Integration but somewhat different, where Client can register via server connection and access the services as well as server can access the client ...
0
votes
0
answers
9
views
Ebay Selling APIs seems not to work in production environment
Sorry but I'm new to Ebay APIs. I want to create a tool that can modify listings on my Ebay selling account. So I got a user token by hitting the button in the image and sign in into my ebay selling ...
-1
votes
0
answers
10
views
How to access the completed process-instances from another process in jBPM?
Can someone know how to use JAVA APIs to get the data of completed processes in jBPM? Is there any other way to achieve the same?
I tried Custom work item handlers. But nothing worked. what is the ...
0
votes
0
answers
24
views
Why I cannot send the image into server(backend), getting either "the summited file is empty" or "null"?
I have a task to send all user info as Multipart.Body to server and I have an endpoint for it. When I used Postman to check the sending of image to server and it works there, however I cannot find the ...
0
votes
1
answer
32
views
Receiving 2 different possible type objects in the body of a .NET POST API request
I have these 2 classes:
public class FieldStructure
{
public FieldStructure(string name, string type)
{
Name = name;
Type = type;
...
1
vote
0
answers
20
views
Alpaca Trade API: endpoint not found?
I am trying to use the alpaca_trade_api to get some historical data. But when I do so I get the following error:
alpaca_trade_api.rest.APIError: endpoint not found
The code is:
import alpaca_trade_api ...
0
votes
1
answer
20
views
How to get my token and user from the backend to the front-end
[Error Image] (https://i.stack.imgur.com/GOWmC.jpg)
This is my userservice.ts file code
export class UserService {
BASE_URL = "http://localhost:8082";
constructor(private httpClient:...
-1
votes
1
answer
27
views
RecyclerView doesn't appear on the screen
I make an app which use API and should show some basic data (exchange rates) on the screen.
But elements of recyclerView doesn't appear on the screen. I can see only textview.
Trying to find a problem ...
0
votes
1
answer
58
views
Unable to pass wandb API Key in PyCharm terminal
wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results
wandb: Enter your choice: 2
wandb: You chose 'Use an existing W&B account'
...
0
votes
1
answer
19
views
Superagent not rendering read file data in .get function correctly
I am going through a Node.JS course on Udemy and as one of the examples for using an API call we are being told to use Superagent and call the Dogs CEO API. I have my code exactly like his in the ...
2
votes
0
answers
81
views
Whatsapp template name does not exist in the translation
I'm using the whatsapp api to send template messages. Currently have an approved template created for the 'es' language (spanish), but the api returns 404 every time I try to send it to a phone number ...