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.
webapi
2,213
questions
0
votes
0
answers
15
views
how to in powershell get icinga web 2 data
I have a script that gets the "icinga web 2" html page form
This script was created by the firefox developer console. This script only works in powreshell when a firefox session is active. ...
0
votes
0
answers
13
views
Prevent PerformanceEntries (marks and measures) to pile up
I use the Performance API to measure the speed of a complex frontend project where resources (available memory) are scare and UI runs like an embedded system for months without reloading.
Can I remove ...
0
votes
2
answers
43
views
Blazor WASM download large (>2GB) file from WEB API
I'm stucked... I've read all of the threads about this and can't make it work and don't know why...
I've a WEB API which should return a large zip file (>2GB), it creates the zip on disk, it's ok ...
0
votes
0
answers
23
views
gRPC request aborted when sending large request
We have three services: an API, an orchestrator and finally an order service.
A REST request is sent to the API, it then calls the orchestrator service with gRPC, and the orchestrator calls several ...
0
votes
1
answer
22
views
How to make promise wait in Dynamics CRM while retrieving user details from Xrm.WebApi.online.retrieveRecord?
I am working on a Dynamics 365 project where I need to compare the logged-in user's Azure AD ID with a value from a form field and display an icon based on the comparison result. My code attempts to ...
0
votes
2
answers
60
views
Multiple JSON Property name on property [duplicate]
I have a requirement in which I must have property that can bind it's value by "debtAmount" or "Amount"
I did try to have annotation from above, and it works for debtAmount but ...
-4
votes
1
answer
43
views
PayPal documentation always tell to use Node.js, but there is a client-only script that works even better
For PayPal integration all their documentation tells you to call server-side script running on Node.js, and here the client-side call to the CreateOrder function in the server:
async ...
0
votes
0
answers
12
views
Using the web audio API to create a mouse click sound
I am trying to make a mouse click sound using the web audio API but it's so hard to understand how the different waves actually produces sounds.
Here's my attempt at it which failed.
const ...
0
votes
0
answers
23
views
NSwag auto generate client: Generates return object type function wrong
Just I'm trying to generate HttpClient generated file by NSwag from my API controller.
I have this marked row in my API controller:
But it generates here wrong return type:
I'm expecting return ...
0
votes
0
answers
30
views
Retrieve list of desktop flows and actions in those flows in Power Automate Desktop using Powershell and WebAPI
How to retrieve the list of desktop flows and list of actions in those flows for a particular environment in Power Automate Desktop using Web API in powershell?
I'm new to powershell and power ...
0
votes
0
answers
49
views
The SSL connection could not be established - Azure AKS
My application hosted in Azure AKS, My app got logic to call some external API frequently.
In my local I don't face any issue to call the external API,
but, Getting below error while call api from ...
0
votes
0
answers
24
views
How to Securely Authenticate SPAs in API Requests Using Client Identifiers?
I am developing a web API intended for consumption by users' Single-Page Applications (SPAs). Each SPA will be provided with identifiers like client_id, project_id, or publishable_key to make API ...
0
votes
0
answers
37
views
Http post using powershell - Invoke-RestMethod : The remote server returned an error: (401) Unauthorized
When i executed the below command in PowerShell i am getting error. "Invoke-RestMethod : The remote server returned an error: (401) Unauthorized."
Code:
$Cred = Get-Credential
[System.Net....
0
votes
1
answer
29
views
HostBuilder ServiceProvider able to resolve scoped services?
Why is it when using Host.CreateDefaultBuilder() hostBuilder, the service provider when configuring services can provide scoped services but not with WebApplication
The set up is as follows:
...
0
votes
0
answers
21
views
Web API requestFullscreen navigationUI: "show" is not working for me
I've been trying to make an element "fullscreen whilst also showing the browser's navigation UI", but I cannot get the Web API requestFullscreen navigationUI option to work for me.
This is ...