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

Need To Make Minor Change To REST API Response

I have a website with information contained in several mySQL tables. This info is accessible via a REST API. I need to make a small change to this by adding two more fields to the response. But, this...

View Article


What are the recommended best practices for handling errors in REST APIs?

I'm looking for guidance on best practices for returning errors from a REST API. Currently, I'm working on a new API and have the flexibility to choose the right approach. Currently, my content type is...

View Article


Mapping Actions to Rest URI

I have a resource 'Customer' for which I have REST endpoints defined as,| URI | Function || ------------------------------ | ---------------------------------- || /apiv1/customers/ | {GET} Fetch all...

View Article

How to get the key and value from a JSONObject in java

We have a JSON request and I need to check some conditions.by getting the value from a key.(eg. Getting Antony from the key Name)checking whether the key is there in json object or not. (Check Dob key...

View Article

Determining where to place logic connecting multiple aggregate roots and...

I am kindly asking for your guidance on where the logic connecting various entities and aggregate roots should reside. In our upcoming project, the code architecture will combine Domain-Driven Design...

View Article


MiddlewareMixin.__init__() missing 1 required positional argument:...

I have created a custom django middleware and decorator to authenticate the RESTful API that I am developing. Here is the code of the middleware that I have developed:# myproject/middleware.pyimport...

View Article

Openfeign + Spring cloud : Field required a bean of type that could not be found

I have a problem with spring and openfeign in which I think you can help me.I have a pom file as follows:<?xml version="1.0" encoding="UTF-8"?><project...

View Article

Troubelshooting raise TypeError("quote_from_bytes() expected bytes")

I have an error raised by the following piece of code def __to_canonical_querystring_post(self, params): canonical_querystring = "" # parameters have to be sorted alphabetically for the signing part...

View Article


Twitter api _oauth 1.0a

I am getting this error : Error posting tweet: Error: HTTP error status: 401at writeTweet (D:\Projects\PostPortal\backend\routes\twitterRoute.js:106:19)at process.processTicksAndRejections...

View Article


Using Separate Auth Models for Organizer and Admin in Django with JWT...

I am working on a project named Event Nest where I have implemented separate authentication models for organizers and administrators. My approach is as follows:I created an Organizer model using...

View Article

Sharepoint 2013 Add large files with rest api

I am working on a project to copy files from one document library to another in Sharepoint 2013 via jquery and the rest api. My solution is based off of this...

View Article

Interactive Brokers - I keep getting invalid consumer while requesting OAuth...

I have a valid consumer key and I'm unable to get Interactive Brokers Web API OAuth to work.{"error":"id: 3931, error: invalid consumer","statusCode":401}The endpoint I'm trying to get to work:...

View Article

Custom Validation Attribute for model C#

I have a model:public class SendEmail{ public bool IsScheduled { get; set; } public DateTime ScheduleDate { get; set; } public List<ScheduleAttachement> ScheduleAttachement {get; set;}}public...

View Article


How to prevent user from modifying REST request?

This question might sound trivial, but even after reading a number of tutorials, I still don't get how the REST security should be implemented.I have a webpage and soon-to-be-ready mobile app. Both of...

View Article

Building an OCSP Responder

For Building an OCSP ResponderI want to Build an OCSP Responder.For Building an OCSP what are the thing required, where to startplease Help me in this problem I am new in this field i have basic...

View Article


what i learn first? spring or springboot or restapi

Learning Path for Spring Boot and Related TechnologiesI've learned core Java, JDBC, Servlets, and JSP. I want to start learning the Spring Boot framework, but I'm a bit unsure about the sequence of...

View Article

How to get data using an input form through a rest call?

I want to get the name and email address from a user through following form<!-- Contatct Us--><section><div class="grey-bg"><div class="container p-y-40"><h1>Contact...

View Article


Converting Swagger to WSDL

The goal is to create a reliable process or tool that can convert a Swagger file, which defines a REST API, into a WSDL file suitable for SOAP services. This conversion is necessary to ensure...

View Article

Deserializing a JSON array with awkward additional property in the schema

I have a very similar issue to this question here, except my application is in C#, and I can't figure out how to convert the solution unfortunately. I am trying to deserialize a JSON result that looks...

View Article

How can I call a REST API in Php

Our client provided me with a REST API that requires a PHP call. However, the documentation accompanying the API is quite scanty, leaving me unsure about how to proceed with calling the service.I...

View Article
Browsing all 3607 articles
Browse latest View live


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