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

Invoke a REST service from PL/SQL

I am trying to make a HTTP Request from PL/Sql. I need to use access token for authentication rather than username and password. Please suggest the standard API or code to use to pass the access...

View Article


How to fix Bad Gateway error after API calls of app running in Docker...

I have just run an app consisting of MongoDB, a REST API and a web app running with nginx with Docker (docker-compose, webapp is at port 8888:80, but the following problem also occured on 80:80)....

View Article


C++ and curl connectivity to VMware API [closed]

We are writing a C++ program to interface VMware vCenter and ESXi to download the ESXi configuration and clone VM's.We have an ESXi host and vCenter on a VM.We have the C++ code developed but we get...

View Article

Test a REST get request

How do I test a GET request of a REST API with PHPUnit 4.1? I use the Slim PHP-Framework and could manage to test the response code but not the body or header.This is what I have so far:TestClass:...

View Article

Spring RestTemplate Behavior when handling responses with a status of NO_CONTENT

Okay, I have a class NamedSystems, that has as its only field a Set of NamedSystem. I have a method to find NamedSystems by certain criteria. That's not really important. When it gets results,...

View Article


Image may be NSFW.
Clik here to view.

How to POST a multipart/form data with files in a REST API

I am trying to write a REST API to upload an attachment. I have written the API. But when I am trying to call from POSTMAN, It's throwing an exception.REST API: @Consumes(MediaType.MULTIPART_FORM_DATA)...

View Article

How to check the status of a spring batch job whether an instance of the job...

I have a requirement where i have created a custom UI for spring-batch monitoring using the spring-batch-admin JSON api. I have a requirement where i dont want to allow the user to start job when an...

View Article

Extracting CSV like data from a JSON object via API POST call

Unable to dig deeper in the JSON object to extract the CSV like data that is stored in there as the payload of the API call.When reading the data from the output of the call it shows...

View Article


How to decode Gzip compressed request body in Spring MVC

I have a client that sends data with CONTENT-ENCODING deflateI have code like this@RequestMapping(value = "/connect", method = RequestMethod.POST)@ResponseBodypublic Map onConnect(@RequestBody String...

View Article


integrate ffmpeg with spring boot

I have a react native app much like social media app.Users upload their photos and videos from that app .While uploading I wanna show processing sign with percent and I have RESTful api endpoints...

View Article

Getting error while creating rest service using apache camel

Since i am prety much new to Apache camel and especially Rest DSL, I thought of trying a sample of Rest DSL.So i created a camel-config.xml as:<?xml version="1.0" encoding="UTF-8"?><beans...

View Article

Calendly Api integration

Ihave a custom form on my website that users are supposed to use to schedule an event,Is there a way I could integrate to Calendly where I send this data as a post request to Calendly and a schedule is...

View Article

XPages REST Service and concurrent calls

I am investigating some issues with an old Notes application that uses the XPages REST Service control to provide an API to an external application. The XPage utilises a SSJS script library that...

View Article


Securing Registration RESTful API against registering many users

I am developing RESTful APIs with ASP.NET WebAPI for an Android application and there is an option to make a registration through our application. Suppose that our registration endpoint is something...

View Article

Firebase : Send notification with REST API

Is it possible to send push notification with REST API on Firebase? I can send notifications with Firebase console but i need to send notifications with REST API.

View Article


How to understand "RESTful API is stateless"?

I heard that a "RESTful API should be stateless. All state info should be kept on client side".But when I issue an AJAX call from a web page, I noticed that a session ID cookie is always sent along to...

View Article

AWS Lambda function url double firing in Chrome only

I am building an inventory system in which a qr code is scanned, which calls the Trello API and adds a card to reorder the appropriate item. To do this, the qr code directs to a functional url that...

View Article


Delphi Datasnap Server - How to correctly answer the OPTIONS method? CORS...

Delphi 12 / Datasnap Server / Components: TDSServer, TDSHTTPServerI was created 'Datasnap Server' by wizard. This ma REST server. Angular application send me requests (GET or POST) but CORS makes...

View Article

Image may be NSFW.
Clik here to view.

Postman: Required request part 'file' is not present

I wanted to upload an image to my Rest API through postman. I am using spring boot framework. Here is the screen shot: I also have not set any any headers as I found in other stack overflow answers...

View Article

Image may be NSFW.
Clik here to view.

Spring File Upload - 'Required request part is not present'

I am trying to send POST request to my controller but cannot pass any parameter in any type unless I decide to use JSON. My goal is to pass a String and a file to my controller but I keep getting...

View Article
Browsing all 3607 articles
Browse latest View live