Strategies for Achieving Decoupling Between API Methods and User Interfaces
What are the proven strategies for achieving decoupling between API methods and user interfaces?I'm working on creating a REST API service for the application. And I noticed that my API methods are...
View ArticleHow to Improve Performance of NodeJs API which is returning 2000 records. I...
I am fetching 2000 records from my main table.After getting records I am using approx 15 queries to fetch different statistics using above fetched ids with promise.all().I have optimized all my...
View ArticleLaravel: Store function doesnot save my file name to database but stores file...
I want to store file in public folder and save that's name to MySQL database, database does not create record for file_name column.When I post file then file moves to folder but database does not...
View ArticleWhy the Torchserver in GoogleCloud not retaining the API request for long time?
I am sending a post request from Python to Torchserver in GoogleCloud to execute an AI model and get result. Since the model runtime is about 10-15 minutes the Torchserver breaks the API connectivity...
View ArticleAPI examples using JSON PATCH for partial updates
I'm looking for the best solution to apply a partial update to an object with a REST API (ASP.NET)I originally wanted to use "JSON Merge Patch" format (rfc7396), but I was not able to do it with...
View ArticleHow to configure JSON deserialization options in .NET minimal API project
I have a .NET minimal API project, as described here. One of the endpoints accepts JSON in the request body, and this is deserialized automatically. The code looks something like...
View ArticleWhiteListing of Azure Appservice IP's in box for API requests
We are using Box SDK to perform box API requests to create appuserid's, create folders and upload files etc using Box SDK. We want the API requests to be coming only from certain machine's like Azure...
View ArticleSharePoint online REST not working by item(number)
Thank you in advance for your input. I am not a developer; I know enough to work with the different APIs/endpoints. I am running into an issue that has me stumped.I have two tenants, tenantA migrated...
View ArticleHow to download excel (.xls) file from API in postman?
I have an API endpoint and an Authorization token for that API.The said API is for .xls report download. How can I view the downloaded .xls file using (if possible) Postman?If it is not possible using...
View ArticleSynchronise code generation for REST API vs GraphQL using Swagger/OpenAPI,...
As the title says, I have a concern where my spring-boot service use both REST and GQL for API layer and I'm looking for a synchronised code-generation mechanism that aligns generated classes from both...
View ArticleIs there a good way to publicize JSON schema defined in Go structs through an...
BackgroundI am writing a REST API, in Go, that focuses on queueing background jobs in a generic format. This is done by posting "Job Requests" that look like the following:{"job_request": {"job_type":...
View Articlehow to make a get api that return all posts with their comments and replies...
i am trying to make a get api that return all posts with their comments and replies (nested-comment)Here's what I've got so far,but i can't get acctual output.details:i will also add output here its...
View ArticleFirebase Realtime Database REST API returns Unauthorized, even with token
I'm writting a Blazor Server app that connects to Firebase Realtime Database. I'm using the FirebaseDatabase SDK but need to perform a set of Atomic operations updating multiple Paths. Since the SDK do...
View Articlelocalhost ERR_SSL_PROTOCOL_ERROR rest service
I have four different REST services developed in C#. When I run the REST services from Vsisual Studio and conect them from my angualr application, no problem.Now, I change my pc and my browser give me...
View ArticleAdding spring security to working spring-boot app
There are two controllers web@Controllerpublic class WebController { @CrossOrigin(origins = "http://localhost:8080") @GetMapping("/api") public String showForm() { return"bars"; }}and...
View ArticleGet vehicle registration details from apisetu.gov.in API
I am trying to implement a feature in my web site where user can input the Vehicle's Registration Number and pull out the details of the vehicle and owner. Similar to...
View ArticleLaunching a workflow in Apache Hop Server using REST APIs
I'm trying to launch an Apache Hop Worfklow using REST APIs, but I can't find the right way to do it.I setup a docker container with Apache Hop Server (image apache/hop:2.6.0) and I mounted the project...
View ArticleImport "rest_framework" could not be resolved. But I have installed...
Here's my settings.py:INSTALLED_APPS =...
View ArticleHow to add dynamic title to extend page in django?
I need to change the title of base.html based on rendered page in the{% block content %}
View ArticleWhy does my lambda function cause a resource leak in Java (using Quarkus)?
I have a Quarkus microservice (let's call it A) which makes a POST request to another microservice (let's call it B) using the RestClient. If A makes a request to B, but B is down (i.e. not started...
View Article