All Questions
6,332
questions
0
votes
0
answers
10
views
Tableau Server REST API - How to filter jobs by extractRefresh task ID?
Is there a way to filter jobs using the tableau REST API according to task ID?
I have an extract refresh task I want to run on demand using /runNow but I want to perform a check to see if a job with ...
0
votes
1
answer
49
views
dotNET minimal API getting 404 not found on a secure endpoint
I am trying to implement a rest api using the dotNET framework. I am experiencing a problem with the "/secure" endpoint, getting 404 as a response message whether I login or not.
If I don't ...
0
votes
1
answer
34
views
Unable to create view from models, created from complex JSON classes
This is my string in index method. I am trying to convert my JSON string to object of MultipleClasses and want to display in my view. But unable to do that.
if (response.IsSuccessStatusCode)
{
...
0
votes
1
answer
33
views
Unable to Set ShipFrom when using ConfirmShipment in the Amazon Orders SP-API
We have tried everything we can see. Our last attempt added a 'shipFrom' block as mentioned in some Amazon samples. The shipment update is accepted without error, however the 'Ship From' in seller ...
0
votes
2
answers
110
views
Using async task to throw an exception after some time
I'm trying to create a forced timeout mechanism that runs asynchronously.
Ideally I need to run a task, without waiting for it, and I expect that after some time it throws an exception to mimic a ...
0
votes
0
answers
59
views
ASP.NET Core 6.0 Web API : cannot context switch to another account to start an executable
I have an ASP.NET Core 6.0 Web API that runs on IIS 7. The application pool is running under an account local to the machine but not the local system, call it 'local-system-web-account'. I am trying ...
0
votes
0
answers
38
views
How can I save an HttpResponseMessage as binary?
From a GET API I receive JSON content with HttpResponseMessage. I wish to save that attachment as binary in my SQLite database. How can I do this and open it for the user to view?
{"Version":...
0
votes
0
answers
10
views
RestSharp || Rest API Automation Testing || ExecuteAsync returning null
I am developing RestAPI automation test case using RestSharp.
I am trying sample code to test the API response. Below is my code:
var _client = new RestClient("https://reqres.in");
var ...
0
votes
1
answer
147
views
Request reached the end of the middleware pipeline without being handled by application code
I've built a console app which will start as a Windows service but also has a REST API implemented. Unfortunately, when I make a request in the web browser:
http://localhost:5000/api/v1/article/1
I ...
0
votes
1
answer
67
views
How to get http client to handle response for http method delete and body
.NET is not happy with DELETE requests that use body content. With the API I'm integrating with, the request looked like it was being sent but the response always timed out. This occurred both with ...
0
votes
0
answers
56
views
Multi-tenant (realm based) REST Web API authentication
We're building a multi-tenant setup with a C# Web API and KeyCloak for auth and APISIX as application gateway. APISIX handles the authentication and passes an X-Access-Token to our API when ...
0
votes
0
answers
48
views
Web API Token Based Authentication Error : Authorization has been denied for this request
I'm developing an ASP.NET Web API. It runs smoothly without authentication, but when I try to access the API in Postman with username and password, I always get an error:
Authorization has been ...
0
votes
1
answer
55
views
Mollie API - Cancel payment
I'm implementing a feature which required cancellation payment on Mollie, I saw that the IsCancellable is always false, so my question is, what kind of payment methods can we cancel on mollie, using ...
0
votes
1
answer
115
views
I need to generate QR code for some data, I don't want to use System.Drawing.Common . Any other suiatble way for generating QR code using C#
With System.Drawing.Common the type initializer for Gdip threw an exception.
Creating an API which should send a QR code (base64 encoded string) as a response. I tried using ZXing and System.Drawing....
3
votes
2
answers
140
views
Unable to make a valid GET call with HttpClient
I'm trying to write a simple console app to communicate to my Honeywell thermostat. They offer a free-to-use REST API that's documented here: https://developer.honeywellhome.com/ . I am having trouble ...