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

Spring Boot with both SOAP and REST endpoints - Why is my app not starting up?

I am trying to add a soap endpoint to my application with some rest endpoints. But when I add the beans for SOAP, the application startup fails with the below error.The bean 'messageDispatcherServlet',...

View Article


How do i post form data as JSON format

Posting argument data from my form works perfectly but i need to post the same information using JSON. How can this be done.My form looks like this.<form enctype="multipart/form-data" method="post"...

View Article


Steps to send a https request to a rest service in Node js

What are the steps to send a https request in node js to a rest service?I have an api exposed like (Original link not working...)How to pass the request and what are the options I need to give for this...

View Article

C# post JSON data to REST API

I am new to REST API JSON but have been able to consume a few API with asp.net. Here is the problem I am currently facing.I have been able to send JSON data to an API using this method.public void...

View Article

Python script to fetch zip codes within a radius fails to populate CSV correctly

I am trying to write a Python script that reads a CSV file with zip codes, fetches zip codes within a radius using an API, and then populates the results into a new column in the CSV. The API requests...

View Article


Does Appian provide a REST API or SDK to retrieve a list of application names?

I’m working on integrating Appian with a C# application and I need to retrieve a list of application names from my Appian environment.Could anyone tell me if Appian provides a REST API or an SDK that...

View Article

How do I search pattern match with knex

I'm searching through an sql database using knex.js query builder and I'm trying to create a model that searches for all rows where the title has the input title I pass.async function getByTitle(title)...

View Article

Image may be NSFW.
Clik here to view.

Send IformData as a field within Postman

This is my postman setup;for the request object;public class UploadRequest { public List<IFormFile> File { get; set; } public int EntityType { get; set; } public int ReferenceId { get; set; }...

View Article


How to include fields with null values in Netflix DGS Graphql response

We are using NetflixDGS with spring-boot to implement rest API. Say my API response has to return below object{"name": "Abc","age": "25","place": null}But I am getting only below response.{"name":...

View Article


Get LocalDate from the @RequestBody, convert it to dd/mm/yyyy format, convert...

I am creating a Rest API applicaton which tracks users` expenses. I have date variable of type LocalDate and the default format is yyyy-mm-dd but I want to store dd/mm/yyyy in the databasewhat I tried...

View Article

How can I send MultipartFile using FeignClient?

imageI have an HTML form with a file submission, how can I send it to the api.When I try to send it directly I get com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for...

View Article

How to get metaobject data using the shopify admin graphql api

I am creating a student portal for the students who pay for a monthly subscription through shopify as a react vite app. I have metaobjects for lessons, assignments and assessments, whose information...

View Article

how to pass client id and client secret from oath 2.0 redirect to call back api

i was trying to set up dropbox oauth in my app, the following is the handler for grantapi, the grant api redirects the user to dropbox authentication page its address is localhost:8089/api/grant func...

View Article


File is blank in laravel when uploaded in Postman

I have this problem. I have a laravel code where I tried to submit a post request with 'attachments'. The problem is, when I try to add 'attachments' to the body and added the headers...

View Article

REST login service with JWT authentication fails

I'm trying to setup a REST service with JWT authentication, but it fails without hope.The architecture of the service is based on Spring Boot 3.2. and all the latest Spring Security components.The...

View Article


Spring REST Service with spring security JWT

I'm trying to setup a REST Service with JWT authentication (I confess that many parts of the authentication process have been copied from some tutorials), it seems the code is ok, Spring compiles...

View Article

Send email with Mailgun with Javascript

I'm working with JS and I have the follow code: var XHRResponse = XHR.send("POST", "https://api.mailgun.net/v2/sandbox224f28ae45a8499d84184fd4c48e62ee.mailgun.org/messages",{"parameters": {"from":...

View Article


Modify Content-Type value in boundary/form data

Is there any way in REST Sharp version 111.3 to modify the content-Type value inside the form data?Below is an example outgoing call I captured with Fiddler. As you can see, the content is JSON...

View Article

django: request.POST is empty

I have the following rest API endpoint:def post(request, *args, **kwargs): print(request.POST) short_description = request.POST.get("short_description", "") long_description =...

View Article

Kotlin Multiplatform Library - Best practices for library dependencies

I'm creating a Kotlin Multiplatform library that interacts with a Restful HTTP API service. The library depends on Ktor and Kotlin Serialization. When importing the library, users also have to import...

View Article
Browsing all 3619 articles
Browse latest View live


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