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

How to Optimize 42Crunch Conformance Scans for Individual API Endpoints?

We are using 42Crunch for API security conformance scans, and we're facing several challenges that are impacting our efficiency. Currently, our 42Crunch setup requires uploading a Swagger / Open API 3...

View Article


How to get lastSignInDateTime from Azure AD through postman

I need to fetch lastSignInDateTime from Azure AD through postman.May I know how i can the fetch the details of the usersI tried with below url but its not working for...

View Article


Unable to get shape data from ArcGIS REST API

I'm trying to download hurricane data from ArcGIS. There are two things I can do.I can go to their web interface...

View Article

API Generator for Python [closed]

I'm currently working on my titulation project in software engineering and i want to get some feedback from real developers of how useful this project can be in the real life.The project is two...

View Article

How do I configure Kafka SCRAM users and user quotas using REST API?

I'm maintaining some Confluent Community Kafka clusters, and I am mostly using a combination of manual CLI and Ansible together with the supplied Kafka CLI tools to do things like create new users,...

View Article


Image may be NSFW.
Clik here to view.

Annotation @Valid doesn't work in my REST app

import jakarta.validation.Valid;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.http.HttpStatus;import org.springframework.http.ResponseEntity;import...

View Article

Image may be NSFW.
Clik here to view.

Splunk REST API - add webhook using API but Splunk Web UI not showing it

has anyone successfully using Splunk API call /services/saved/searches/SEARCH_NAME (https://docs.splunk.com/Documentation/Splunk/9.2.1/RESTREF/RESTsearch#saved.2Fsearches.2F.7Bname.7D) to add a webhook...

View Article

Docker API returns 200 OK then 400 BAD REQUEST

I am writing an API client for Docker. I understood from the documentation that the API is Restful/HTTP, yet if you connect to the local daemon you have to do it over the exposed unix socket.It all...

View Article


Image may be NSFW.
Clik here to view.

How to optimize a rest API response that call external APIs multiple time and...

I have written a rest API that takes a request that is a list (size of this list is dynamic).Now what my API does is, for each item in the list calls an external API and responds with the collection of...

View Article


Quickbooks Online API to upload multipart attachment gives Could find no...

I'm using golang to build and POST to the endpoint: https://quickbooks.api.intuit.com/v3/company/XXXXXX/upload?minorversion=65and I get the json response:{"Fault":{"Error":[{"Message":"An application...

View Article

How can I speed up PHP Laravel for REST API only? [closed]

I'm running Laravel 10.0 under Apache 2.4.51 with PHP 8.1 on Windows Server 2022.First of all: I like Laravel.With the tool telescope on local machine (PHP artisan serve) I've found out, that for...

View Article

Unable to filter emails by multiple categories with Graph API

I am trying to filter emails by multiple categories with Microsoft Graph, but I'm not able to get it to work. I found this thread which gives me a query to filter by category 1 OR category...

View Article

If PATCH can do everything that PUT can do then why even PUT exists? [duplicate]

If PATCH can do everything that PUT can do then why even PUT exists?I researched a lot on this topic and I am able to know basic difference between the two.PUT is for creating or updating/replacing the...

View Article


HAL and HAL-FORMS

I have a problem understanding something. I would like to implement HATEOAS and move to level 3 of a REST API. For now, I am using Spring HATEOAS, which is not very complicated, and it generates...

View Article

Getting data for the deleted pipelines in Azure dev ops

I am trying to call the ADO API and get deployment and buildruntimeline related data from it. I wanted to know if there's a way to get data for the deleted pipelines. Is there a flag or some way to...

View Article


Ktor(client side) not authorizing JWT Token

Using ktor for client side.fun main() { runBlocking { val client = HttpClient(Java) { install(ContentNegotiation) { json(Json { prettyPrint = true isLenient = true ignoreUnknownKeys = true }) } } val...

View Article

Mocking sheet in junit is giving invalid use of matchers exception

I'm trying to mock the below method,Actual Methodpublic List<PricingSchemesDTO> loadPricingSchemeDto(Sheet pricingSchemeSheet, List<String> errors) {}Inside...

View Article


What is an easy way to stub / dummy a restful web service?

I want to create an android application, this application will make RESTful calls to a web service to obtain some data.I know what the RESTful interface will be, but I don't want the hassle of creating...

View Article

Send request with a pdf file and a json to an API generated with flask

I have this Flask app:from flask import Flask, requestapp = Flask(__name__)@app.post('/upload')def upload_file_json(): file = request.files['file'] num_1 = int(request.form['AA_num']) num_2 =...

View Article

Can I call a Springboot backend API from NextJS frontend through NextJS...

Suppose I have a Backend RESTFul APIs created with Springboot and I'm creating its front-end with NextJS. NextJS also has a server side API gateway that we can call for back-end APIs as well. I know...

View Article
Browsing all 3619 articles
Browse latest View live


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