How to specify aggregation options (allowDiskUse:true) through Data API (over...
How to specify aggregation options (allowDiskUse:true) while making aggregation query through Data API (over REST calls) offered by MongoDB Atlas?I looked at the documentation here, but could not find...
View ArticleIs my proposed method for managing cache when required TTL is highly variable...
I have a service set up as an API with Flask that relies on a couple other rest API's to databases that are relatively slow. I am currently working on a cache system that would release requests sent to...
View ArticleAzure DevOps Rest Call giving 401 status code
I am trying to do a Get Request for REST API Azure from Postman.https://dev.azure.com/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}?api-version=6.0-preview.1I am trying to do the...
View ArticleWhat are the API names for Address' compound fields that are not...
So I currently am working with SOQL (PATCH API Call) to update an Address field on a contact record. This Address field is called Address 2 (API Name: Address_2__c) but I cant seem to be able to pass...
View ArticleExclude user's password from query with Prisma 2
Recently I started working on a new project to learn some new technologies (Prisma 2, REST api with Express, etc.). Tho, I faced a problem.My app has a user authentication system and the user model has...
View ArticleHow to return response after exception MaxUploadSizeExceededException
I have app with reactJS as a client and spring boot as a server.I try to upload file with big size I catch error on server but didn't get any response on client.It my client part: const uploadHandler =...
View ArticleAzure Openai Whipser REST endpoints
I wanted to use Whisper deployed through Azure OpenAI but I am having trouble finding the right resources for it.I am trying to integrate a translator using Whisper in a flutter app that will take...
View ArticleSOAP Services in Visual Studio 2012
When you want to create a SOAP web service in VS 2012, there is no project for this purpose and you must change the target framework to .NET framework 3.5.I wanted to know that why SOAP service project...
View ArticleJWT authentication fails
I'm developing a REST service with Spring security, the backend generates the JWT without any problems, I checked all parts of the code, everything seems ok, but when POSTMAN sends a GET request to an...
View ArticleSuperset Add user with REST API
I am getting Error in reponse to /api/v1/security/users/I am trying to insert new user with REST API in Apache supersetwhat i did:I have sent post request to /api/v1/security/loginwith json body - I...
View ArticleManaging multiple REST APIs in Azure API Management
I am building REST APIs with MicroServices, which means I have different services for providing different resources. Suppose I have below services:ServiceA is providing resources resourcesA and...
View ArticleApi monitoring .net
I am novice in Web API. Apologize if any question is not making sense.I have several Web APIs developed in .NET and hosted on the same sever. These APIs are consumed by different applications. Here I...
View ArticleWebServices Calculator Example using Java
I have created an sample application of calculator for sum of two numbers using webservices in Java by using Jersey service.My code is : Calculator.javapackage p1;import javax.jws.WebService;import...
View ArticleRestClient: how to correctly unmarshall text/xml response
I need to consume an external REST API that returns not a json (application/json), but an xml (text/xml to be precise, not application/xml). I'm using the new RestClient introduced in Spring Boot...
View ArticlePosting data return error with reqres API
I am using reqres API to do a login but it is 400 error which says{"error": "Missing email or username"}I tried with postman but same error, this is my URL string from...
View ArticleHow do I upload a file with metadata using a REST web service?
I have a REST web service that currently exposes this URL:http://server/data/mediawhere users can POST the following JSON:{"Name": "Test","Latitude": 12.59817,"Longitude": 52.12873}in order to create a...
View ArticleBest ways to upload large amounts of data from a client to a server using REST?
I am developing an application with a client (java/swing) and a server (spring boot) component. The main thing I'm debating right now is how the best way to approach uploading large amounts of data...
View ArticleAuthorization in RESTful HTTP API, 401 WWW-Authenticate
I'm creating a RESTful service to provide data to a web application. I have two related questions about this.1. How to deal with unauthorized requests?I'm intending to respond to requests with the...
View ArticleREST API 404: Bad URI, or Missing Resource?
I'm building a REST API, but I've encountered a problem.It seems that accepted practice in designing a REST API is that if the resource requested doesn't exist, a 404 is returned.However, to me, this...
View ArticleREST URL Design considerations
I'm in charge of designing a routing system (along with the URL structure) for a relatively small app. The app itself should provide with the functional for adding "root" level entities as well as the...
View Article