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 ArticleHow 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 ArticleUnable 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 ArticleAPI 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 ArticleHow 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 ArticleAnnotation @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 ArticleSplunk 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 ArticleDocker 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 ArticleHow 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 ArticleQuickbooks 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 ArticleHow 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 ArticleUnable 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 ArticleIf 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 ArticleHAL 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 ArticleGetting 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 ArticleKtor(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 ArticleMocking 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 ArticleWhat 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 ArticleSend 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 ArticleCan 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