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

When Jersey cannot map a query parameter, it fails with 404, why so?

I'm not a Jersey guru but I read that Jersey cannot resolve Java methods based on query params, but it looks sometimes it does, here is my example.This is the server code:@GET@Path("/services")public...

View Article


Problem getting Forecasts Ariba REST API - Organisation does not have the...

at first i'm sorry for my english ^^"I'm working on a customer interface with the Ariba REST-API.I'm able to generate the OAuth Token and getting all informations from the purchaseorder and...

View Article


Does a predefined mediator exist for REST-to-SOAP or SOAP-to-REST mediation?

I have a requirement where I'll receive SOAP calls and need to mediate them to REST calls, and vice versa, to invoke some services using WSO2 Micro Integrator 4.2.0.Could you please confirm if WSO2...

View Article

API get requests same path different parameters. How to name it? [closed]

I have 2 get methods. Paths are like below:lists/:user_idlists/:list_idBut I can access just one of them. How should I structure it? Should it be like this:lists/:user_idlists/:user_id/list_idHow...

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


Send multiple files via HTTP from server to server

I'm looking to send some files over HTTP from one server to another, and am wondering what the best MIME type and method to do so is. Currently I have a RESTful HTTP server and have an endpoint which...

View Article

Why API Pagination in Power BI M Query limit is not working?

I'm new to working with APIs, especially with POST requests and pagination. I've managed to set up an API to pull data from Clarizen for Power BI M Query, but I'm hitting a wall with pagination.I’m...

View Article

Google Cloud Vision API Returning 400 Bad Request Error

I am trying to use React Native for the first time to create a mobile app where a user can upload a image and then get a response from the Cloud Vision API. I have already created the key and ensured...

View Article


How should I pass multiple parameters to an ASP.Net Web API GET?

I am using the .Net MVC4 Web API to (hopefully) implement a RESTful API. I need to pass in a few parameters to the system and have it perform some action, then return a list of objects as the results....

View Article


Solr delete multiple synonyms at once in managed resources

How do I do a bulk delete of some synonyms in the Managed Resource Api.I find it strange that the documentation only talk about about how to deletesynonyms one at a time. It will be quite sad if we...

View Article

How to queue and store an API request to execute once internet connection is...

I'm working on adding offline support to my app. My requirement is to queue and temporarily store an API request (including headers, request body, and endpoint) when the user loses internet connection,...

View Article

JFrog REST API to Export the X-ray SBOM report

I have created the following call to export the JFrog X-ray SBOM datacurl -u $USER_NAME:$API_KEY -X POST $ARTIFACT_DOMAIN_URL/xray/api/v1/component/exportDetails \-H "Content-Type: application/json"...

View Article

Require help to capture auth token and refresh token post authorization

After opening test website, it's redirected over another blueprint1.onmicrosoft.com for authorization and auth token and refresh token get issued post successful login by...

View Article


Not able to send the message to the websocket controller in spring boot

Hi I am trying to create a web socket for a chat application,I am using websocket in spring boot and sockjs in react js for the application.I am getting the below logs in the console of browser:Console...

View Article

Can I provide callback from frontend (react) to backend and create API...

I develop service which will use ML for create response. So we can wait for response for about several seconds. So it's quite long time and I need not to block my frontend while waiting for response.I...

View Article


How to split python-decorated API router methods in different files

I cannot find a clean way to structure a python API project that splits the routes of a module (/invoices for this example) into different files, when using a decorator approach for the routing...

View Article

RESTful API Create - should it return conflict if exist, or be idempotent and...

What title says - if I have an endpoint to create element, but the element already exist, what's the best / common practice? Should I:Return conflict based on the fact that an object with the key...

View Article


Confused with Codable

I'm trying to fetch movie data using The Movie Database API and display them on a table view, but my code isn't actually getting any data.class MovieData: NSObject, Decodable { var movies: [Movie]?...

View Article

No connection could be made because the target machine actively refused it...

I'm using the WCF4.0 template -REST. I'm trying to make a method that uploads a file using a stream.The problem always occur atStream serverStream = request.GetRequestStream();Class for...

View Article

Image may be NSFW.
Clik here to view.

C# API returns JSON in Swagger but HTML in Postman and React

So I'm trying to render an Accounts component that would just render what returns from a C# back end. In Swagger, the API call returns JSON, great, but if I hit the exact same point in Postman or my...

View Article
Browsing all 3619 articles
Browse latest View live


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