2,181 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
83
views
ClientId Not Updating On Spotify's Web API Authorization Example
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 ...
0
votes
0
answers
61
views
How to override the request host name in integration tests
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 ...
1
vote
0
answers
96
views
System.PlatformNotSupportedException: System.DirectoryServices.AccountManagement is not supported on this platform after updating .net 6 to .net 8
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 ...
0
votes
1
answer
63
views
Deployment troubles - Blazor WASM Client/Server/Shared setup
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 ...
2
votes
0
answers
235
views
Scalar documentation - multiple response types for one endpoint
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 ...
2
votes
0
answers
57
views
Is it possible for pipeThrough and TransformStream to produce a byte stream?
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 though byteStream started out life as a ...
1
vote
0
answers
42
views
Is TypeScript incorrectly narrowing the type of the return value from ReadableStreamDefaultReader.read()?
Take the following TypeScript:
async function test(stream: ReadableStream<Uint8Array>) {
const reader = stream.getReader()
const { value, done } = await reader.read()
//typeof value =...
2
votes
1
answer
129
views
Angular | Why catchError does't catch 401 error?
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 ...
0
votes
1
answer
172
views
Not able to upload file on Autodesk forge server
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:-
const response = await
...
0
votes
1
answer
1k
views
How to preserve input data in n8n?
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
223
views
Unable to create subdomain in cPanel – Error: (XID) The system failed to create the directory "" because of an error
I'm trying to create a new subdomain (e.g., api-test.domain.com) using cPanel, but I keep getting this error:
Error: (XID 6k7jjw) The system failed to create the directory "" because of an error:
Here'...
0
votes
0
answers
32
views
ASP.NET Razor Send HTTP Request via HttpClient and include JWT Auth Browser cookies
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 ...
1
vote
0
answers
195
views
How to use migration commands with Litestar?
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 ...
1
vote
1
answer
112
views
Generic C# API client service with common returns
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:
public class HttpClientHelper
{
private ...
4
votes
1
answer
158
views
How can I preserve FileSystem API access to a directory between app launches?
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 ...