I have a monolith web application powered by Laravel. Users access different forms and some of them have button on them that executes Ajax call to the back-end
My problem: I don't returns Json but an array. So, I will wish Json return: My repository interface: public interface SuiRepository extends JpaRepository<
I am new to retrofit 2 library.I read several articles to get started as a beginner and I managed to fetch XML data from my RESTful API without specifying param
I would like to connect with the Stripe API using a https call using the https library. var https = require('https'); I have gotten the secret key and publis
I am trying to setup a REST based web application, where the frontend is using Reactjs and the backend is using Spring Boot. I am also trying to setup a custom
I am student and on a assignment i was trying to send image from my blazor page to java rest api . As for the api it works perfectly as i tried it with postman
Hi Trying to write a simple rest webservice. And following the tutorial below: http://www.tutorialspoint.com/restful/index.htm But i am getting HTTP Status 500
I have deployed a Kafka cluster on a GCP instance. I used the connector through config/connect-distributed.properties. Start collecting data through restapi usi
I am creating a restful web-service using .net and Newtonsoft for serialization/deserialization. The aim is to force exceptions (preferably HTTP 400) when a re
The above query returns a 200 when I try to create a User, but whenever I log into MongoDB there is no collections created. Can anyone help ? //user model co
I have an express rest API server, and I am trying to use it to get an MP4 file from an S3 bucket and serve it. The video is displayed OK on my desktop, but doe
@ExceptionHandler({ ConstraintViolationException.class }) public ResponseEntity<Object> handleConstraintViolation(ConstraintViolationException ex, WebRequ
Being new to testing i'm looking to test my API in Django (Django-rest-framework). I'm setting up tests for my views, that is my API endpoints. Now looking ov
Here within a controller I create a rest store: this.somePerson = Ext.create('Ilhan.store.Human', { model: 'Ilhan.model.Human', autoLoad: false }); this
What's the most appropriate HTTP status code to return for connection failures on the server? For instance, if the server fails to establish a connection to the
I need to send a pdf file and some other parameters in response to a get API call using django rest framework. How can I do it? I tried this but it gives an er
I'm writing some Python to communicate with an API, that uses RESTful. I've managed many successful GET commands, however, am having difficulties with POST. The
I having been battling this error for weeks now, read hundreds of resources that has just proven futtile and contacted coinbase support without getting any resp
Is there a problem to use base64 encoding to upload (only upload) the image to the server? Considering the common image size of around 1-2 MB, not icon sized im
Is it possible to pass a string or data that is retrieved in an Ajax call to sightly html? I have a 3rd party response in Ajax but I am trying to make the html