Pull data from Ivanti using REST API
I am very new to Ivanti so please don't mind if this is a silly question.There is a particular query that gives a table and then we download this data as a CSV file by clicking on the 'export as csv'...
View ArticleHow to use openssl with distant keys, accessible via KMIP or REST API?
I need to use openssl with keys stored on a distant KMS.How can I do this?I've seen specific projects about openssl using AWS keys (1) or Google cloud keys (2).Stil I found no KMIP-generic solution.(1)...
View ArticleI can't deploy the rest-builder module (Liferay 7.4)
The rest-builder module is created without problem in the “modules” folder of the workspace with the following command: blade create -t rest-builder demo-rest-builderNext I refresh the gradle of the...
View ArticleI can't deploy the rest-builder module (Liferay 7.4) - TransformUtil
I am trying to deploy a rest-builder service but I have same problem detailed in this entry:I can't deploy the rest-builder module (Liferay 7.4)Anyone found a solution?I detected that TransformUtil...
View ArticleHow do I decode POST multipart/form-data?
In a Flex application communicating with a Windows Communication Foundation REST web service I am trying to upload a file from the Flex application to the server. I'm using FileReference to browse and...
View ArticleHow to handle CORS using JAX-RS with Jersey
I'm developing a java script client application, in server-side I need to handle CORS, all the services I had written in JAX-RS with JERSEY.My code:@CrossOriginResourceSharing(allowAllOrigins =...
View ArticleRest api that checks if there is a record in DB that meets a certain condition
I have the following problem: Display a button that changes the status of a resource, the button is only showed if there is a record in DB where we have status=VALID and OPEN=trueIn order to check that...
View ArticleHow to returning data from a void async call in Swift function
I have created a utility class in my Swift project that handles all the REST requests and responses. I have built a simple REST API so I can test my code. I have created a class method that needs to...
View ArticleBest Practices for Designing REST APIs to Fetch Related Entities in Spring...
I’m developing a Spring Boot backend for a parent tracking app, where parents can monitor their child's device activity. The system has entities like Parent, Child, Apps, BatteryHealth, etc.I need to...
View ArticleHow to compress data (object) in Rest service during sending responce in java
my piece of code is @POST @Path("/getJSONCompareData") @Produces(MediaType.APPLICATION_JSON) public Object getJSONCompareData(@FormParam("testRunNum") String TRun,@FormParam("rptName") String...
View ArticleSharePoint 2013 - Get Custom Field Value via REST API
I have SPList which contains Custom Type Column (inherited from Lookup). When I try to retrieve its items via REST API I'm getting an...
View ArticleHow to provide pagination, searching and sorting for computed data?
I have a traditional endpoint /foo which has search params, pagination params, and sorting params.This foo has attributes like name, date, xyz, etc. Most of these parameters are present as columns in...
View ArticleRestrict particular Rest API not to be accessed but deploy the code
I have deployed my .net core code in IIS and NGINX. Is there any way that I can restrict user not to use the particular API and not to deploy code again?Or if i have to deploy again, is there any way...
View ArticleIn Spite of using Jackson for JSON, the code uses eclipse's yasson parser
I am working on Restful Application to Run on Payara 5. In POM, even if I specify the Jackson parser, during the runtime, I continue to see Eclipse yasson. I know Payara 5 comes with yasson parser for...
View ArticleHow 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 ArticleSame (apparently) HTTP POST works in Python but not in Go [closed]
I'm beginning to work with Go and I created a Go version of POST that works with cURL (and Python)curl --location 'https://auth.pingone.com/1...a/as/token' \--header 'Content-Type:...
View ArticleNo availability - revalidate itinenary in Sabre
I'm using sabre BFM REST API to get flight details and then trying to revalidate it using this request code:{"OTA_AirLowFareSearchRQ": {"Version": "4.1.0","ResponseType": "OTA","POS": {"Source": [...
View ArticleHow to get around rate limits of publicly available APIs
I am trying to build my first full web site, and my idea for this web site involves using a publicly available API. The only issue is that most public APIs have a rate limit of a certain amount of...
View ArticleBackend and frontend do not appear to exchange data using slow connections
I have a backend server written in Rust using actix_web. I also have a frontend that is written in JavaScript using React and Next.JS.The frontend has to make requests to the backend that may take...
View ArticleNo availability - revalidate itinerary in Sabre
I'm using Sabre BFM REST API to get flight details and then trying to revalidate it using this request code:{"OTA_AirLowFareSearchRQ": {"Version": "4.1.0","ResponseType": "OTA","POS": {"Source": [...
View Article