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

Why can't I make a REST connection to Oracle document understanding

I am trying to make a REST data source to Oracle document understanding in my Oracle Apex application. But I get an error:ORA-12545: Connect failed because target host or object does not existREST data...

View Article


Delphi/Android application error : "Unsupported Media Type"

I made a multi-platform applet with Delphi 11.3. I'm using the TNetHTTPClient component to POST an XML formatted text to a REST API. Running it in Win32 mode works fine. Running it in Android mode...

View Article


ASP.NET Global Exception Handling [closed]

’ve created a library services system, and recently I tried to add global exception handling for server-side error management, but it’s not working. I’ve tried everything, including switching to a...

View Article

Postman not sending @requestparams to spring application, but it works if i...

I am trying to implement pagination in my spring application,however I am using @requestParams. Howver Postman is unable to send the parameters to my get methods which results in them picking the...

View Article

How to delete data from database by using React js and REST API

I am learning REST API. I am using the react app for front end and backend for Node js and express server. For API I am using REST API. I am using MongoDB for the database. I successfully display all...

View Article


To develop scheduling rest client

I am trying to develop scheduling rest client.The task is:There is Rest APII would like to send GET requests on scheduleI created the Spring boot application:import...

View Article

Implementing idempotency on the server using hypermedia in REST API

Suppose I'm creating a REST API and my POST method creates a new Order. And I'd like to use Hypermedia in my API, supplying a list of available actions to the client, and path to a POST method should...

View Article

How to send patch request in Mongodb using node JS when there is no frontend?...

I need to develop an backend service of sending details of comic book. The project only has backend and no frontendI have made APIs for adding , getting and deleting the dataBut i don't know how to...

View Article


How to create an authentication token using Java

On my Java EE6, REST service, I want to use authentication tokens for login from mobile devices. The user will send their username and password, and the server will send back a token, which will be...

View Article


Why LocalDateTime is serialized as array when return as ReponseBody in...

I want to get the dates in a format of dd/MM/yyyyso,I wrote this code first:@GetMapping("/testAjax.json")public ResponseBody<?> AjaxResponse testAjax(){AjaxResponse response = new...

View Article

Spring Boot: CRLF - Securely log payload in REST API

I have a Spring Boot app which exposes a REST API. I need to log the payload to be able to find errors in the JSON in the API calls.I have ran a code analysis tools that reports the following security...

View Article

Image may be NSFW.
Clik here to view.

InvalidOperationException: Header value contains invalid characters

I am trying to integrate bKash Payment Gateway (PGW) in Unity using their rest APIs. The first step is generating token. For which it requires an Username & Password passed in their...

View Article

How to correlate REST errors with log entries using slf4j?

In backend code, when a REST endpoint method produces an exception, the endpoint should return a payload with an appropriate http error status, such as 500. It is also a good practice that the payload...

View Article


REST API request timeout for services which are always slow

I am working on a project where I have to call a third-party REST service. The problem with the current setup is that service does not return in at least 16 seconds. This response time may exceed more...

View Article

How to trigger a Azure data factory pipeline with multiple parameter from...

I have created a Azure Data Factory pipeline which have multiple pipeline parameter,which I need to enter all the time when pipeline trigger.Now I want to trigger this pipeline from postman in my local...

View Article


How to send a status code on RESTful controller api without an error?

VM1411:1 Uncaught (in promise) SyntaxError: Unexpected token 'O', "OK" is not valid JSONWhen I fetch JSON(stringified object) data to the server and try to send a statusCode number 200 for indicating...

View Article

Image may be NSFW.
Clik here to view.

J2EE 404 page not found [duplicate]

I have created a jakarta rest service projectand then when I run it, I got 404 errorthere's no interface after I visit the path.I created these two classes:package com.mpsoft.generateur; import...

View Article


Django: How to add objects to ManyToManyFields of multiple objects in a fast...

We have models.py file :class Car(models.Model): brand = models.CharField(max_length=50 , null=True , blank=True) sub_brand = models.CharField(max_length=50 , null=True , blank=True) code =...

View Article

Oracle Forms Java Importer not detecting my JAR files

Currently, I am trying to implement a simple REST API trigger upon a button click on Oracle Forms.import java.io.BufferedReader;import java.io.InputStreamReader;import java.net.HttpURLConnection;import...

View Article

REST API url and parameter naming with in Spring Boot?

For Spring Boot projects, I have seen some different usages and want to clarify the following points.1- As far as I know, the following usage in the url with kebab-case is better than camelCase. Is it...

View Article
Browsing all 3607 articles
Browse latest View live


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