Skip to main content

Questions tagged [webapi]

Questions related to web browser's Web APIs specification. Web APIs is a set of numerous different APIs related to programmatically using web browser with your JavaScript code. For example the visual web page rendered is represented as and controlled by Document Object Model (DOM), which itself is a Web API. Or when using console.debug() function to log messages to the browser's console, you are using Console API.

Filter by
Sorted by
Tagged with
Advice
0 votes
0 replies
25 views

I’m implementing drag interactions that need to continue when the pointer leaves the browser window, so I use Pointer Events with `setPointerCapture()` and, in some cases, the Pointer Lock API. During ...
Ddystopia's user avatar
0 votes
1 answer
106 views

I wanted to get my hands dirty with Spotify's Web API, and it seems that the first thing I need to get a hang of is Authorization. So, I cloned Spotify's Web API Examples repository from github and ...
Alejandro Cruz's user avatar
0 votes
0 answers
66 views

I have a system that supports multiple simultaneous customer accounts for which I am trying to write integration tests. At present it extracts part of the request hostname in order to determine the ...
Adrian's user avatar
  • 2,875
1 vote
0 answers
106 views

Getting error as below in windows server after updating .net 6 to .net 8: System.PlatformNotSupportedException: System.DirectoryServices.AccountManagement is not supported on this platform Did lots ...
Raccoon's user avatar
  • 11
0 votes
1 answer
65 views

I have a problem with deployment of a Blazor WASM solution created in C#. It works perfectly when running in development, but I cannot get it to run after deployment to the web test server My question ...
Peter Rasmussen's user avatar
1 vote
0 answers
258 views

I'm learning Scalar instead of Swagger now, and i can not find out how to configure more than 1 common response types over all endpoints in project. I mean that, that i want to have endpoints which ...
JD_1609's user avatar
  • 61
2 votes
0 answers
62 views

The following code does not work. It produces the error Failed to execute 'getReader' on 'ReadableStream': Cannot use a BYOB reader with a non-byte stream Even ...
Chris_F's user avatar
  • 5,879
1 vote
0 answers
42 views

Take the following TypeScript: ...
Chris_F's user avatar
  • 5,879
2 votes
1 answer
145 views

Listen, I'll explain how it all happens. I'm making a refresh system for a jwt token. It's a standard thing. I configured exactly two systems: guards and interceptors. That's why I'm sure people will ...
Андрій Степанов's user avatar
0 votes
1 answer
183 views

I want to convert rvt file into ifc file. For that I am using autodesk forge API. Firstly I have created app on autodesk and after that creating token with below code:- ...
Rahi's user avatar
  • 27
0 votes
1 answer
1k views

When calling some nodes in n8n, specifically this time, an HTTP node, input data is lost. The most important lost property is the ID of the input, which is later needed to do merge. How to keep input ...
Gulzar's user avatar
  • 28.8k
0 votes
0 answers
244 views

I'm trying to create a new subdomain (e.g., api-test.domain.com) using cPanel, but I keep getting this error: ...
Nabil Mudzaki's user avatar
0 votes
0 answers
34 views

I have a WebApi and Razor frontend project (both using .Net 8.0). I'm trying to learn to implement authentication using JWT and cookies. As of now it is working well: Login on my razor website, which ...
Baldwin Salcedo's user avatar
1 vote
0 answers
202 views

I am trying to use migration commands with Litestar, but I keep encountering the error: No such command 'database'. I have configured my project with pyproject.toml, main.py, and models.user.py as ...
Alexander's user avatar
  • 945
1 vote
1 answer
128 views

I have a C# project that calls some APIs. These APIs are pretty different, and the answer differs for almost every call. I wrote a generic client service: ...
Enrico's user avatar
  • 6,990
4 votes
1 answer
168 views

I'm trying to port my existing SPA web app to Electron in order to make it a desktop app, working fully offline from executable. This app is meant to store user's data in file system (in a directory ...
Piotrek's user avatar
  • 11.3k
0 votes
0 answers
89 views

I was looking through the MDN Web APIs, and I stumbled across navigator.keyboard. I could see a use for Keyboard.getLayoutMap(),...
Mippy's user avatar
  • 862
-1 votes
1 answer
242 views

I need to create a file in ALDS GEN2 using WEB API activity in ADF. Below is the request i am using to create a file. ...
Sharma's user avatar
  • 427
1 vote
0 answers
13 views

I am developing a web-based dashboard to visualize IoT sensor data that I store in GridDB Cloud. I want to use the GridDB Cloud WebAPI to retrieve data and then render it with Chart.js. However, I am ...
Zaigham Ali Anjum's user avatar
3 votes
2 answers
380 views

Can someone explain the rational reading from a Web API (WHATWG) ReadableStream, using the BYOB (Bring Your Own Buffer) reader (ReadableStreamBYOBReader), why you ...
Borewit's user avatar
  • 1,975
0 votes
1 answer
128 views

I’m trying to use power automate to immediately send a file to a website when it is deposited in a sharepoint folder, retroengeniering its web API. Here is the body of the request: ...
user29612481's user avatar
-1 votes
1 answer
41 views

I know that there are 5 types of HTTP Requests GET: Used to read data POST: Used to create data PUT: Used to update data PATCH: Used to update data DELETE: Used to delete data What is the difference ...
Luffy Codes's user avatar
1 vote
1 answer
194 views

Has anyone successfully connected to the IBKR Web API V1.0 using C#? Any working sample or insights into why this might be happening would be greatly appreciated. (PS: I am not asking about TWS or ...
Sharif Yazdian's user avatar
-1 votes
1 answer
267 views

I need to create a new empty file in ALDS GEN2 using WEB API activity in ADF. Below is the request i am using to create a file ...
Sharma's user avatar
  • 427
0 votes
0 answers
48 views

Our organization is using DynaTrace. DynaTrace is reporting a lot of Newtonsoft JsonSerialization errors. Error converting (null) to System.Int32. I have figured out what is causing this error so ...
HitLikeAHammer's user avatar
0 votes
1 answer
340 views

In my .NET 8 Blazor project, I added the "Individual Account" to manage users. The application has 2 projects. Server The server side contains the login part and the controllers/endpoints. ...
Enrico's user avatar
  • 6,990
0 votes
1 answer
241 views

In my .NET 8 Blazor web application, I use the "Individual Account" to authenticate the users (so I'm using Microsoft Identity). I have a server and a ...
Enrico's user avatar
  • 6,990
1 vote
0 answers
191 views

I create reports with FastReport on the .NET Core WEB API side. I want to show these reports on our website using react.js. I normally convert the generated report to ByteArray and show it with a ...
AdylshaY's user avatar
0 votes
1 answer
121 views

I am currently working on implementing protected routes on a simple Web API. But I can't seem to figure out how JWT works really. I am currently successfully creating and sending back the Token with: <...
yzkael's user avatar
  • 363
1 vote
0 answers
98 views

I'm running a WebAPI project using Visual Studio 2022 and .net9. I also have a Blazor Web App which uses the API. There is a SignalR connection between the two. I keep getting timed out while ...
FirstByte's user avatar
  • 631
0 votes
1 answer
42 views

I'm trying to reuse a method which I've to use in multiple controller class. What I've tried is to make a static method and use in my controller class which throws argument exceptions. Is there any ...
Sam's user avatar
  • 110
1 vote
0 answers
37 views

I want to get a list of all events like MouseEvent and related types, for example MouseEvent -> click, dblclick, mousedown, mouseenter, mouseleave, mousemove, mouseout, mouseover, or mouseup And ...
user28534042's user avatar
1 vote
1 answer
49 views

I am encountering an issue with testing the login and logout functionalities in my Laravel application. When I run the test suite, some tests fail with a 404 status code instead of the expected 401 or ...
Abdulrahman Astra's user avatar
0 votes
0 answers
497 views

There is a basic example that shows how Notifications Web API works. The example works well in Windows and Linux with Firefox/Chrome web browsers. However, the example doesn't show any notifications ...
BrilliantContract's user avatar
0 votes
0 answers
195 views

I'm developing an "ASP.Net Core Web API" in Framework .Net 8.0 working with Microsoft WSUS, I have referenced the file : ...
Le ZVince's user avatar
0 votes
1 answer
82 views

There is such a definition of IDL: callback NavigationInterceptHandler = Promise<undefined> (); This corresponds to the property of the ...
MaximPro's user avatar
  • 566
1 vote
1 answer
49 views

I try to find duplicates in CRM for given names per WEB API. I use a API call like this: ...
FRropen's user avatar
  • 27
-1 votes
1 answer
53 views

Issue I am using a videoelement that i have created with document.createlement('video') i have not appended it to the DOM, since i dont want it visible anywhere, i ...
robskaar's user avatar
  • 571
0 votes
1 answer
78 views

I am working on js web app and it is my first time working on any js app. After calling an API web app is not showing any image on overlay screen but the API is returning an image. Html code ...
rehan shabbir's user avatar
-1 votes
1 answer
395 views

I just started using MAUI. I want to have 3 projects: The MAUI app (.NET Core 8) A Shared class library (.NET Core 8 Class Library) A Web Api (.NET Core 8) The Shared class library contains a class &...
Dany Latulippe's user avatar
0 votes
1 answer
52 views

We have a method called from back office to validate a bearer JWT token by its string token but I'm getting an error when validating. It's showing this exception: IDX10503: Signature validation failed....
dev mobile's user avatar
0 votes
1 answer
69 views

we have a method that validates token and takes the user from Bearer token, but this method is not authorized, so how we retrieve the User data from string token ...
dev mobile's user avatar
0 votes
0 answers
58 views

Our webapi deployed as an Azure webapp is slow or experiencing performance issues in production. The same code runs faster on dev and staging slots. I understand that there may be places in the api ...
user575219's user avatar
  • 2,436
3 votes
1 answer
1k views

I’m working on a .NET 8 Minimal API (web) project and using NSwag for generating Swagger documentation. I have an endpoint that accepts a file upload, and the file parameter is wrapped inside a model ...
awattar's user avatar
  • 488
0 votes
1 answer
749 views

When I'm trying to build the following DockerFile for a WebAPI project running on Docker: <...
Fernando's user avatar
  • 3,653
-1 votes
1 answer
393 views

In my WebApi project (c# and .net8) I successfully setup the following definition: For version 1.0 I have these endpoints: However for beta I wanna have something like: /beta/api/Auth/Logon. Almost ...
Inoel's user avatar
  • 61
0 votes
1 answer
242 views

This seems to be simple and should be common but I'm not familiar with Visual Studio 2022, I've created a Web API, and this API needs some keys that usually I just write on the web.config/app.config ...
Ann's user avatar
  • 99
0 votes
1 answer
99 views

I'm using a third-party API and cannot get the initial authorization to work to get the session key. I've used this code with several other APIs in the past and am stumped why it's not working here. ...
ptownbro's user avatar
  • 1,336
0 votes
0 answers
75 views

I have a web server which returns an Excel file through its API. I'm retrieving this data from the SQL Server like this: ...
Boris Garkoun's user avatar
1 vote
1 answer
66 views

I have written a c# Web Api using .net 8 with a post method that looks like the following: ...
Nick Tucker's user avatar

1
2 3 4 5
44