93,585
questions
-7
votes
0
answers
14
views
I'm working on a custom web application and encountering performance issues
I'm working on a custom web application and encountering performance issues with high user traffic during peak hours. The app is built using React for the frontend and Node.js for the backend, but I'm ...
-3
votes
0
answers
13
views
is there a type for "car_parts" like car oils, lubs, car spare parts in google places api?
In the Google API Places for types just can see car_repair , but need to search specific car oil, car parts in general , batteries , etc.
Tried already searching in official API Documentation , and ...
-1
votes
0
answers
10
views
How to POST Multipart Data using Xamarin HttpClient C#?
I've an API that does a POST function to a Multipart data form, but when I call POST mentions
error 400 the request verb is invalid (only Xamarin forms)
Running the same values in Insomnia and it ...
-2
votes
0
answers
26
views
Binance 400 bad request using Boost::Beast
Sup folks, I have no clue why the binance server is responding with error 400 when using boost::beast library. I tried the same http request using openssl and it works fine. This is the error im ...
-1
votes
0
answers
34
views
Post invalid JSON to ASP.NET Core Web API
I have an ASP.NET Core Web API, using this class:
public class Order
{
public int OrderId { get; set; }
public string OrderType { get; set; }
public decimal? OrderPrice { get; set; }
...
0
votes
0
answers
12
views
how to set <p></p> format for a parameter using AXIOS with Node.js? [duplicate]
Please help me with this issue. :) Thank you!
Im calling a recipe from https://spoonacular.com/food-api/docs#Get-Random-Recipes
when i call the summary parameter inside a i get the paragraph without ...
-3
votes
0
answers
14
views
Dell powervalut ME volmue usage calculation [closed]
we are currently analyzing volume usage for our Dell PowerVault and have some questions regarding the calculations. Based on the output from the show volumes command, we obtain both the total size and ...
-1
votes
1
answer
20
views
How to mark a photo liked. should I create another API route for getting user liked photo ids
Should I create another API endpoint to query all the users liked photo ids. Just for Ids
I have a page that will show the user its liked photo but its on pagination and has all the photos attributes ...
0
votes
1
answer
13
views
Webscrapping magento website. API calls with 200 empty response when no timestamp specified
Help on magento website for scrapping purpose
I’m kinda new so sorry if some terms seem weird.
I am trying for a personnal context to scrap data from the website Prolians https://www.prolians.fr/ ...
-1
votes
0
answers
16
views
Getting resource not found error while creating Salesforce lead REST API
Getting resource not found error while creating Salesforce lead REST API.
I am able to get Access Token correctly and have configured a connected app in Salesforce.
But for leads API it isn't working ...
0
votes
1
answer
152
views
Designing REST API for resources with one to one relationship
Imagine Tinder-like aplication. A user registers an Account with email and password, and later on he creates a Profile which can match with other Profiles. There would be one-to-one relationship ...
-1
votes
1
answer
296
views
Why is my PHP API payment gateway not responding? [closed]
I tried to get a response from an api the first function give me the response correctly but the second does not
I tried to send it with postman and it works and there is no errors with curl ...
I ...
-1
votes
0
answers
14
views
my object is not getting added in crudcrud api [duplicate]
So I am trying to get value through get element ID and through axios I am trying to do post request, but it's not getting added and in my network tab its status is showing cancelled
and when I check ...
-1
votes
0
answers
663
views
.NET 7 JWT authentication unable to decode the header as base64url encoded string
I'm currently trying to implement JWT authentication in my .NET 7 web API. The authentication part of things actually works, the error is with the refresh token logic.
When the user tries to refresh ...
0
votes
0
answers
196
views
Is it possible to get all nested input fields for an input object using a GraphQL introspection query?
I'm trying to create a GraphQL introspection query that will retrieve all input fields for a given mutation input object at the top level and all nested fields.
The API I'm testing this with is the ...
0
votes
0
answers
186
views
Prestashop 1.7.8.8 API - Problem with a adding an order to the store from BL
Everything was working fine for 4 months before.
I had automatic minor updates turned on, so it did auto update from 1.7.8.8 to 1.7.8.9
A problem has arisen, concerning the synchronization of stock ...
-1
votes
0
answers
324
views
Doesn't getting Selling Plan data on the product page
I've implemented a Selling Plan in Shopify through a public app (mutation sellingPlanGroupCreate...), the selling plan is attached to the product correctly
But when I try to purchase the product at ...
-1
votes
2
answers
177
views
Best way to filter an objects's properties for data
I'm trying to filter some API data via a search form but unsure how to get the desired results and not sure where I'm going wrong.
I'm calling an API which returns an array of objects that looks like ...
1
vote
0
answers
92
views
POST message via REST API by reading them via data.csv file & capture responses and validate it in 3 db tables TC passes sometimes and fails sometimes
I am reading 4 messages from data.csv file (has 1 column called data and 3 rows with message). now I am posting them via rest end point URL. I capture the response which is usually a single string , ...
0
votes
1
answer
23
views
Extracting JSON response and putting them inside a customize JSON
Hi can anyone help me how to simulate this scenario. Thank you so much in advance and your response is highly appreciated.
Example I have this response below
[{
"agentid": "...
-1
votes
2
answers
51
views
How do tell JS that my api fetch link is NOT ok when it thinks it is?
I'm having this issue with certain API's, where invalid links are still "ok". Here for the ticker symbol I typed a bunch of random letters in place of an actual ticker: ...ticker=AAsdfsPL... ...
1
vote
0
answers
72
views
How to get the Physical data from create direct data base query in OBIEE?
We tried to create a report using Create Direct Database Query
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v6="urn://oracle.bi.webservices/v6&...
1
vote
0
answers
357
views
how to efficiently setup file structure in api versioning?
stack: node express restful api
Goal:two version api, v1 and v2, I wish these two versions api running on the same server at the same time.
project layers:router/controller/service/model folders
...
1
vote
1
answer
30
views
is it possible to pass data based on a condition(Eg:test data for dev & stage env's may change) in a karate feature file?
My test framework uses karate & python & its for backend testing.
I want to execute my tests in both dev & staging environments & so I have to pass data based on that condition to my ...
1
vote
1
answer
735
views
Issue with pulling the data with EIA API with Python
I am trying to pull some energy data using Energy Information Agency's API into a data frame. I wrote the following code:
import requests
import pandas as pd
# Set the URL
url = "https://api.eia....
-1
votes
1
answer
220
views
Etsy API Integration with custom ERP
I'm trying to use the Etsy API to get orders and product data into my web app. The application is in C#. My problem is that Etsy will not approve my API app because their terms state the following.
we ...
0
votes
1
answer
184
views
How do i break a line in MimeKit.BodyBuilder HtmlBody
So I am trying to make a email layout that reads easily. so my intention was getting a break after all the Variables but it doesn't and makes it a very long string.
var userEmail = user != null ? ...
2
votes
0
answers
23
views
how to add markers into agisoft python api
I want to add GCP points(markers) in Python API version 1.8.5
but I am not found any documentation regarding this so please guide me on how to add markers in Python API.
0
votes
2
answers
591
views
OMPython/OpenModelica setMethods
I am trying to change parameter with setParameter in OMPython where I have loaded Modelica model and solved it. I want to change parameter with other numerical values but getting error message:
| info ...
1
vote
1
answer
322
views
Can i send delete api request directly in browser url?
I am using Fastapi , and this delete request is there , so for my hosted api or be it on localhost can i send directly delete request in browser like url --> http://api/delete/2 .
It gives me a ...
3
votes
0
answers
255
views
How to inject Symfony 6 workflow with API Platform 3
I am trying to inject information about my workflow into my entity data using API Platform and using a collection.
I have created a ProviderInterface, but I am not sure how to use it properly.
Here's ...
0
votes
1
answer
874
views
Stripe payment_intent succeeded event does not contains invoice id
I'm creating product
const product = await stripe.products.create({
name: 'Charge for messages',
});
then price
const price = await stripe.prices.create({
...
1
vote
0
answers
316
views
GET http://localhost:5000/api/posts 404 (Not Found) error on the console after API call
I have built a full-stack blog application with React Js & Node Js. Tried connecting the API with the client side but I get the (GET http://localhost:5000/api/posts 404 (Not Found))-404 not found ...
2
votes
1
answer
5k
views
Next.js app not fetching data from API with getStaticProps or getServerSideProps
I'm trying to fetch data from an API in my Next.js app using either getStaticProps() or getServerSideProps(), but the data is not being fetched and displayed in my app. When I use fetch() inside a ...
0
votes
2
answers
4k
views
CORS error while making REST API calls from React JS application
I'm getting CORS error while making REST API calls from React JS application.
Also, when I tried the API call directly from the browser, I'm able to get the data.
I need a solution to fix this CORS ...
0
votes
2
answers
255
views
Getting dates from google analytics API
I am trying to get the individual dates from data retrieved from the google analytics api.
I am trying to emulate what the google analytics app does.
So for example the google analytics app has a line ...
1
vote
1
answer
1k
views
Using the Azure DevOps Python API to create a new work-item
Similar to the question posted here, I am trying to manage Azure DevOps work items via python.
The accepted answer refers to the official Azure DevOps Python API docs and some sample code which seems ...
0
votes
1
answer
940
views
PowerBI api getting all reports - contact owner : I can only see the infos or workspace-report that my SPN has access
Im taking a chance after searching hours on the Microsoft website and in the examples script.
Is there anyone familiar with:
https://wabi-us-north-central-d-primary-redirect.analysis.windows.net/...
0
votes
1
answer
468
views
Keeps on getting 401 from postman using JWT token
I have created an API project using .NetCore 6. I have followed the tutorials and I think I have not missed anything. I run the program and it works fine not until I have implemented to only ...
1
vote
0
answers
34
views
Handling a JSON API with Django and putting the data in a model
I have a basic JSON API with some data, I need to dynamically get this data in python and put it in a model, more basically, Let's say the API is for cars, each car has a name and model, how to get ...
-1
votes
2
answers
58
views
How to grab api before moving on in ReactJS
I am trying to build a super simple react blog using Strapi as my cms. I am running into a problem where it is trying to render the data before it finishes fetching it. I am trying to display the post ...
0
votes
1
answer
243
views
Java and Dukascopy history download
first of all I want to make clear I’m still a noob with Java so please forgive my naivness.
What I’m trying to achieve
I would like to download historical data from dukascopy, which offer a free ...
0
votes
1
answer
2k
views
Can I call an Azure fuction from a API Controller using .NET 6?
I'm developing a project with Azure Functions. I created the Function app successfully, but my boss requires me to call the function from a controller because the frontend has to consume this function....
0
votes
0
answers
412
views
DNF Python API - How to query modules default and enabled stream and profile?
I intend to write a Puppet external custom fact, using DNF's Python API, which would collect all DNF modules data and output as YAML data, ready to be consumed by Puppet Facter.
I managed to list all ...
0
votes
1
answer
353
views
Pagination rule for Post API call in data factory
I have a url that returns a response json based on following details:
https://testapi/dev?user=reportuser
Call type: POST
Body: {
"name": "Employee Data",
"pageSize&...
0
votes
3
answers
90
views
Why is the page refreshed after javascript post request?
When I send post request JSON to server username and score page being refreshed. Patch request does not have this problem page not being refreshed.
I need the page should not be refreshed because my ...
1
vote
0
answers
87
views
can't able to load the networkimage and data from api - flutter
I got this error from image.dart while run the app.
the error hit on this line :
throw error; (inside the assert)
And i got this error message on my console
Image provider: NetworkImage(""...
0
votes
1
answer
295
views
DHL API > how to pass the parameter printFormat
I use the current REST API 2.1.1 of DHL Paket DE Versenden (Post & Paket Deutschland).
There i can pass a parameter namend printFormat to specify the label size. But I do not know where exactly to ...
0
votes
2
answers
1k
views
Uploading files to Discord API thought PUT using python requests
I have a problem while trying to upload files to discord.
If I get it right, algorithm of uploading files to discord is next:
I am sending information about the file that i want to upload, discord ...