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

Yii2 REST API relational data return

I've set up Yii2 REST API with custom actions and everything is working just fine. However, what I'm trying to do is return some data from the API which would include database relations set by foreign...

View Article


Does anyone know how to authenticate users using the Blackboard REST api?

I'm trying to use the blackboard REST APIs on this site: https://developer.blackboard.com/portal/displayApiHowever, I'm not exactly sure how to get started authenticating students. How do I...

View Article


@NotNull @NotBlank @Valid is not working in spring boot rest api validation

@NotNull, @NotEmpty, @NotBlank annotations are not working in my rest controller. My requirement is to restrict the flow at controller and get 400 error when i hit the controller without required...

View Article

Yii2 Rest Controller and public variable

I have made a REST controller with Yii2 framework. When I try to retrieve a record from my database through an ActiveRecord model, JsonFormatter give me only real attributes. How can configure...

View Article

Spring boot WebClient connection getting freezed due to...

I am using webclient to connect to a downstream API, after getting the response from downstream, my service throws a warning message as given below:2024-05-01 20:04:08,240 [reactor-http-nio-1]...

View Article


Why does S3.deleteObject not fail when the specified key doesn't exist?

Using the AWS SDK for Node, why do I not get an error when trying to delete an object that doesn't exist (i.e. the S3 key is wrong)?If I specify a non-existent bucket on the other hand, an error is...

View Article

After installing the cucumber plugin my eclipse is not responding

My eclipse version is 2024-03 and the cucumber version is 1.0.0.202106240526. After installing the cucumber plugin, my IDE is not responding. Kindly help me out. I am stuck.

View Article

Error encountered during CLI Lambda function deployment using DotNet WebApp

I am trying to deploy my DotNet WebAPI to AWS lambda using CLI.I have followed the process according to the below tutorial link -Serverless ASP.NET Core Web API with AWS LambdaWhen I executedotnet...

View Article


How to set a specific timeout for each API in the system?

For example:I have the api/v1/list that I want to set a timeout of 1000ms for execution. If the execution time exceeds 1000ms, it will throw a TimeoutException.Similarly, I have api/v1/detail and want...

View Article


MongoDB CRUD Restful API project using java and spring boot

The following project ideas aim to provide students with hands-on experience in creating RESTfulAPIs using Java and the Spring Boot framework. Each project focuses on developing a practicalapplication,...

View Article

Getting access to GitHub Action logs

I am trying to collect the logs generated by the GitHub action of a public repository (from a certain date interval). I know that I could try to download those logs manually by checking the jobs myself...

View Article

Exclude user's password from query with Prisma 2

Recently I started working on a new project to learn some new technologies (Prisma 2, REST api with Express, etc.). Tho, I faced a problem.My app has a user authentication system and the user model has...

View Article

Install a server for a node.js web service application

I've built an application that run with node.js, which permit to retrieve some data through a REST API. I want to put it online on a personal computer (Windows), but I have no idea how to install a...

View Article


POST request with Powershell 2.0 using cURL

ScenarioAmong other things, Powershell 2.0 doesn't have the useful cmdlet Invoke-RestMethod.I can't upgrade to version 3 and most examples I've found use version 3.I have found this article, which...

View Article

What does the -d in this cURL command mean?

What does cURL's -d mean? I have a RESTful API that only has cURL documentation. But I can't use cURL commands, so I need to translate.Here's an example:curl -u '{userEmail}:{userApiToken}' -v -X GET...

View Article


Can we extract the full URL with query parameters in RestAssured

I'm working on a RestAssured project and for some debugging purposes waant to print the full url to which the request is sent.In the project that I'm working on we set the ApiHost, BasePath, uri and...

View Article

Image may be NSFW.
Clik here to view.

How do I implement "Authorization: Bearer " in a Delphi REST Server?

I have a working REST server (Sydney) that uses a custom header (AuthToken: 'Token') to authorize users.When I try to use "Authorization: Bearer 'Token'" as a header in a POST request, I get an...

View Article


How to Optimize 42Crunch Conformance Scans for Individual API Endpoints?

We are using 42Crunch for API security conformance scans, and we're facing several challenges that are impacting our efficiency. Currently, our 42Crunch setup requires uploading a Swagger / Open API 3...

View Article

Basic Authentication using Swagger UI

I am trying to develop a spring-boot based rest API service with API documentation through Swagger UI. I want to enable basic authentication via the swagger UI so that the user can only run the API's...

View Article

Does Google expose "Find my Device" APIs?

Google has its "Find my Device" service allowing you to find your phone, make it ring (even when silenced), remotely wipe it, etc. by entering here: https://myaccount.google.com/find-your-phoneWhat I...

View Article
Browsing all 3607 articles
Browse latest View live


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