Quantcast
Channel: Active questions tagged rest - Stack Overflow
Browsing all 3607 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

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 Article


How 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 Article


Laravel: 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 Article

Why 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 Article

API 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 Article


How 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 Article

WhiteListing 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 Article

SharePoint 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 Article


How 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 Article


Synchronise 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 Article

Is 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 Article

how 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 Article

Firebase 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 Article


localhost 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 Article

Image may be NSFW.
Clik here to view.

Adding 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 Article


Get 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 Article

Launching 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 Article


Import "rest_framework" could not be resolved. But I have installed...

Here's my settings.py:INSTALLED_APPS =...

View Article

How 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 Article

Why 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
Browsing all 3607 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>