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

Spotify get_users_playlists api returns zero playlists

I created one playlist with one track as a test. I want to get a user's playlists (mine) using the Spotify API. I get the header information in the returned json, but the array of playlists is an empty...

View Article


Cannot find symbol with Lombok

Basically I'm trying to create an API using Spring Boot, however I have some problems with Lombok annotations.This is my domain (I can use @Data, but it shows the same error):@Entity@Table(name =...

View Article


How to prevent user from modifying data through Django DRF

My API endpoints are exposed to the browser via Django DRF which I'm aware is normal. However, the primary issue with this is that someone can perform any operation my API can perform without going...

View Article

PayPal REST API cancel URL called after payment executed

I have a strange problem, I'm trying to figure out.I'm using PHP and REST API.This is the scenario:Users press the checkout buttonPayment is approvedPayment is executedUser is redirected to the...

View Article

Ajax JQuery to Spring @RequestBody? How do I pass data?

Ajax JQuery to Spring @RequestBody? How do I pass data? I being doing spring for sometime now with passing form fields but I am working on a new system and we would like to use Ajax and RESTful to pass...

View Article


Azure DevOps Rest Call giving 401 status code

I am trying to do a Get Request for REST API Azure from Postman.https://dev.azure.com/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}?api-version=6.0-preview.1I am trying to do the...

View Article

HTML form submit giving 400 bad request

I'm submitting a HTML form to REST(eXist db) web service using POST method.A normal submission is giving 400 bad requestHere is my HTML code<html><script type="text/javascript"> /* function...

View Article

Error using Restful with JBOSS runtime, bad arguments passed to RestService

I have created a maven webapp and I'm trying to use the restful services and a JBoss 7.0 runtime.I've changed the web.xml to call the restful services using javax.ws.rs from which I have also added the...

View Article


best way to save child resource Spring Data REST

I have two entities:@Entitypublic class Father{ @Id @GeneratedValue private Long id; private String name; @OneToMany(mappedBy = "father",cascade = CascadeType.ALL, fetch = FetchType.LAZY) private...

View Article


How to access Power BI Report Server REST API

I am creating a sample POC in which I want to access Reports which are build in Power BI Reporting Server. I am creating this application using dotnet core.I believe that there are rest apis to access...

View Article

How to authenticate when calling Azure Logic App?

I was asked to refactor an AWS Lambda (using Python) which calls an Azure Logic App.When I run my Lambda, it gets a 202 (accepted) response. In Azure, I can see the request failed with the following...

View Article

Forcing PowerQuery functions to not repeat API calls

I am currently tasked with improving the performance of a proof of concept my company wants to deliver.The general idea is that we interface with a proprietary SaaS which is used to prepare some data...

View Article

Validation inside of the method or outside

Let's say I have a list of users in my app, and I have to send a notification only to those who meet certain criteria, for example, a user should be in a specific country.I have 2 classes,...

View Article


org.hibernate.AssertionFailure: possible non-threadsafe access to the session

I am developing a web application with AngularJs as front-end and Spring+Hibernate as the service layer. Service Layer has a set of REST API's that are consumed by AngularJs. The front end of the...

View Article

Dynamic progress bar React and mongodb and ai agents [closed]

I have a project in React, Mongodb and python ai agents.I have a progress bar that starts and shows progress as each agent starts working and once each agent is completed, it needs to show a tick mark...

View Article


Can Postman or Chrome display REST streaming output?

I have a REST server that is supposed to send plain text output as a stream, but when I perform the REST call with Postman or Chrome I get the whole output at once at the end of the process instead of...

View Article

Deployed Blazor web site does not yield the same behavior on Http Post...

I am developing this site, with login functionality.I have this code in the login page:var loginResponse = await httpClient.PostAsJsonAsync<LoginRequest>("/api/Account/Login", loginRequest);await...

View Article


Filter WooCommerce orders in REST API by country

I'm trying to filter the response from /wp-json/wc/v3/orders for a specific API key. The filtering should be that orders from a specific country should not be included. The store still uses the...

View Article

Anybody tried time doctor 2 APIs? or go through it's official docs?

I've try to register/login into time doctor 2 using register/login api and it success, after login i successfully get the auth token.But futher when i try to access any GET route it with provided token...

View Article

Can't access external REST API using pyspark with Azure Synapse

I am not able to connect to external REST API with azure synapse. Sample code is as below from the notebook which is throwing a Failed to establish a new connection: [Errno 101] Network is unreachable...

View Article
Browsing all 4108 articles
Browse latest View live


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