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

Openfeign + Spring cloud : Field required a bean of type that could not be found

I have a problem with spring and openfeign in which I think you can help me.I have a pom file as follows:<?xml version="1.0" encoding="UTF-8"?><project...

View Article


Image may be NSFW.
Clik here to view.

Pagination Parameters in Fabric Data Factory Pipeline

I am struggling with implementing pagination for a REST API in a Microsoft Fabric Data Factory pipeline. I have read the official Microsoft documentation and have tried various things but to no avail....

View Article


How do I log response in Spring RestTemplate?

I am using RestTemplate to make calls to a web service.String userId = restTemplate.getForObject(createUserUrl, String.class);If this fails to return a user ID I just get returned null but I don't know...

View Article

How do I hide a REST API Url from the end user?

Is it possible to hide my REST URL that I using via AJAX to populate page data? I don't want others taking and consuming from my REST API, but need to use it to display content in my site.How do I hide...

View Article

Sharepoint 2013 Add large files with rest api

I am working on a project to copy files from one document library to another in Sharepoint 2013 via jquery and the rest api. My solution is based off of this...

View Article


Image may be NSFW.
Clik here to view.

Connect to bitunix rest API using PHP laravel

I'm trying to connect to the Bitunix API and change the margin mode using PHP. I followed the documentation provided on their web site but keep encountering a signature error message.I've attempted...

View Article

Django + React: Can't get access to an endpoint

I have an endpoint that I made using djangorestframework. The view has a dispatch method for retrieving data from the request and sending it to post method.Endpoint:class Profile(APIView):...

View Article

nodemon app crashed - waiting for file changes before starting... How to make...

From time to time it does happen, but restarting the node bypass this. I really don't have how to debug and see the actual error and the site needs to be online anyway.I wish to know a way to restart...

View Article


Reference JSON Response in Copy Activity in Data Factory

I have a Copy Data activity in a Microsoft Fabric Data Factory pipeline.The activity connects to a REST API and writes the resultant JSON file to a folder in a lakehouse. I would like the destination...

View Article


Is there a LIKE operator in odata filter?

I'm trying to filter my data through OData where the field FileRef contains lets say "/The root path/folder/subfolder", I tried with substringof like so:$filter=substringof("sites/my folder/subfolder",...

View Article

Mule, Spring, MyBatis - Could not get a databaseId from dataSource

I'm trying to build a simple mule REST service based on an Spring+MyBatis application which I've created earlier. The spring app worked just as it was supposed to (transactions were working properly)...

View Article

How to use the API in the same app in express.js

let's say I have a REST API in express. For example this endpointasync function getStoreController(req, res, next) { try { const { id } = req.params; const storeData = await Stores.getStoreById(id); if...

View Article

Firebase API is not sending notification in background

I'm creating web app using Django, and trying to send push notification via firebase API. It's working when user is on page that registers firebase-messaging-sw.js, but in background no notification is...

View Article


POST method returning 400 bad request after adding a new param to the...

I added a new object parameter to the RequestBody of POST method. Below is the syntax of the method at controller:public void registerTask(@RequestBody MyRequestDto myRequestDto)updated MyRequestDto...

View Article

Test REST APIs on a real server (without localhost )

I have a @RestController class in my Spring Boot app. I tested my API's with Postman on localhost and everything seems to be ok.So now I want to test it from another computer.Is there a...

View Article


Is REST API design be part of HLD or LLD?

For example for TinyURL design, should we start with API that meet requirements and follow the design to do it efficiently?Or there is no right or wrong order and it depends on use-cases?

View Article

RESTful put id and body

I need to have my Java server receive a PUT request to create a new user from an id and a json body, the URI needs to be like:/usermanagement/user/$id { "name":john, "type":admin }Given that I've made...

View Article


PHP request to PHP Websocket

I'm searching for help with my websocket problem. I have built a simple HTML5 websocket to connect between my AngularJS-Site (websocket connects through simple JS) and my PHP-Server. The connection...

View Article

Is there any way to conditionally exclude some paths from Swagger documentation?

In my Java app I want to exclude from Swagger documentation some REST APIs conditionally.I can see there is a property hidden=true which works fine but it's not dynamic. Is there any way to achieve this?

View Article

How can I run automated tests to check the average response time of a rest API?

I have a RESTful API that I would like to run some tests against at random moments of the day in order to check the average response time. I wasn't able to do this using Postman's Collection Runner. Is...

View Article
Browsing all 3607 articles
Browse latest View live


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