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

NodeJS Broken Pipe causing my Express api to stop working

I have looked for answer for this question and have to find anything quiet like what I experience!I set up an Ubuntu instance on AWS, standard configurations, medium tier. I ssh into the server, and...

View Article


Using POST in Rest API just like get to add 2 numbers

I am new to REST and web services. I am trying to add two numbers with the below code.import javax.ws.rs.GET;import javax.ws.rs.POST;import javax.ws.rs.Path;import javax.ws.rs.PathParam;import...

View Article


ADF Copy data activity pagination on a REST service POST request

I'm quite new to working with Azure Data Factory (ADF) and I'm running into a problem.I want to store data from a RESTAPI into an Azure SQL database. I have to use pagination due to the number of...

View Article

SOAP vs REST (differences)

I have read articles about the differences between SOAP and REST as a web service communication protocol, but I think that the biggest advantages for REST over SOAP are: REST is more dynamic, no need...

View Article

Find a software architecture solution for a complex user relationship...

I have a problem in my app. I don't know how to implement a feature in my application.First, let me explain my application. I am developing a family management application, which manages family members...

View Article


Swag init generates nothing but "general API information"

Issue DescriptionSwaggo fails to recursively parse Swagger comments in Go files when using the swag init command with multiple directories and the --parseDependency and --parseInternal flags. Only the...

View Article

Issue with Tastedive API in Data Collection and Processing with Python Course...

I'm currently working on an assignment for the "Data Collection and Processing with Python" course at the University of Michigan, using the Runstone code environment. The assignment involves...

View Article

How to generate JWT token in react js

I'm new to JWT concept. I have a signup form and login. Signup.js: I have created signup formimport React, { Component } from 'react';import { Button } from 'react-bootstrap';export class SignUp...

View Article


Image may be NSFW.
Clik here to view.

How to test file uploads in a REST API using Azure Load Test and JMeter

I'm writing up a series of load tests in JMeter, one of which tests a REST API endpoint that POSTs a form file:[HttpPost("File")]public async Task<IActionResult> UploadFile([FromForm] IFormFile...

View Article


What is the correct status code to return for a successful PUT operation...

In Visual Studio 2017, when creating a new controller for a .Net Core 2.1 Web API, and using the "Add Scaffold - API Controller with actions, using Entity Framework" wizard, the generated controller...

View Article

Spring Boot RestClient does not work when sending an object

I tried sending a POST request using Spring Boot 3 Http RestClient. The request fails when sending and object and passes when sending a string.Works with string code: private final String roleBody =...

View Article

Best way to create a prototype using Hyperledger Fabric fast that can...

I'm new to Hyperledger and want to create a simple prototype involving a blockchain that interacts with UI through API (basically, one participant stores metadata on the blockchain, the other can just...

View Article

GET request with JSON body

I know what I'm saying is a little weird, but I need to send JSON (or multipart), using GET request in JavaScript Client-Side. I want it in the body note in URL params.Is there a way to accomplish...

View Article


Spring Data Rest : how to send Multi-part file with request Body

I want to construct an API of user signup in which I need user basic information and his/her profile picture also so I am very confuse that how can I achieve this ! I have made a controller and...

View Article

Http/REST method for starting a service

I want to design a REST API to start a database. I can't find a suitable http method (aka verb).I currently consider:START /databases/mysampledatabaseI've browsed through a few RFCs, but then I thought...

View Article


Image may be NSFW.
Clik here to view.

Download a tar.gz file error using the REST API via the cURL command [closed]

I used curl to remotely download a .tar.gz file successfully. However, when I try to use the REST API method to connect to the website, an error occurs and the content cannot be decoded or...

View Article

how to handle Flutter Rest API call error with Dio

When working with Nested json object or Complex json using Dio. Give me this errortype 'Null' is not a subtype of type 'String'My question is Null Safety is the first thing thats i am doing but if have...

View Article


Custom validation - Required only when method is put

I have two API endpoints, post and put: [HttpPost] [Route("projects")] public IHttpActionResult Create([FromBody] ProjectDTO projectDto) { if (ModelState.IsValid) { var project =...

View Article

Call a Web API in a Windows Service?

I have developed a Web API in .net and I would like to have some kind of service that would download emails from an outlook account and put data from emails in my database using my API (for example I...

View Article

Passing change event value through props from child component to parent in...

I'm trying to pass data from child component to parent one through change event.But I can't understand, basically both functions have the same structure.The main components is getting bigger so I'm...

View Article
Browsing all 3607 articles
Browse latest View live


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