I 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 ArticleRad Server - Return high number of records [closed]
I am planing to build a Rad server(Rest) project and have some question that I couldn't find an answer. Is there a way to send records to the client as paged by using EMS components if I have millions...
View ArticleHttp 503 for some Rest api call
I am running an SpringBoot application and I have a controller which defines Rest Api and accepts a request by a list of ids. Normally it works fine but if number of ids gets bigger, then I receive...
View ArticleProblem with loading LAZY entities in a microservice architecture with Kafka
I have services that communicate via REST and everything works fine. But I want to move the communication to Kafka and, due to the fact that the services will communicate asynchronously via Kafka,...
View ArticleHow to configure Laravel 11 for api restul?
I'm developing a project with a RESTful API, but every time I encounter a 'not found' exception or logout using Sanctum in Laravel, the response is a view or a redirect to a login route. How can I...
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 ArticleCosmosDB Paging Return Value
I am trying to return paging results the request from CosmosDB. I saw this example from here but I am not sure what to do with the response variable. // Fetch query results 10 at a time.var queryable =...
View ArticleIs there mlflow REST api to hard delete experiments, runs?
Mlfow exp delete api does soft delete and when you create experiment with that name, it gives error RESOURCE_ALREADY_EXISTS.Is there any way to delete experiment permanently through...
View ArticleI can't access Lombok's AllArgsContructor when I extend...
I've been trying to solve it for a while but I couldn't find anything to help me, in my Spring Boot Project, in one of the assembler classes I extend "RepresentationModelAssemblerSupport", when I...
View ArticleCreating Channel using REST API in agora.ai [closed]
Can you please any sample code how can we create the channel using the REST API(PHP).Thanks
View ArticleFirebase Realtime Database REST API returns Unauthorized, even with token
I'm writting a Blazor Server app that connects to Firebase Realtime Database. I'm using the FirebaseDatabase SDK but need to perform a set of Atomic operations updating multiple Paths. Since the SDK do...
View ArticleSending post though Powershell curl
For some reason when request is sent through Swagger it goes through without any issuesBut when I try to do the same thing with powershell I get 400curl -Method Post -Uri...
View ArticleUsing a datasource in Grafana for API Rest with hmac key authentication
I would like to use a Grafana data source to make API calls (Piano insights) but the service requires an HMAC key authentication. How could I get around this problem? Here is the Piano documentation...
View ArticleHow can I pass a custom type as parameter to RestEasy service?
I feel embarrassed to ask: but what is the right combination of annotations for a resteasy service method that will unmarshall a custom type?I am able to successfully generate json and xml from methods...
View ArticleHow to mock WebOperationContext for unit testing?
I am trying to get a unit test(more of an integration test) written for the GetAwesomeResultsAsXml() for the following WCF Rest Service.How do I deal with the WebOperationContext mocking aspect?What...
View ArticleHow to read json data from HttpURLConnection
I am using HttpURLConnection from application1 to get json data from applicaton2. 'applicaton2' sets json data in Rest response object. How can i read that json data after getting response in...
View ArticleAcumatica How To Update Default Customer Payment Method with API?
I can't find the good method de update Default Customer Payment Method with API :The PUT is : https://localhost/XXXXXXX/entity/Default/20.200.001/Customer/?$expand=PaymentInstructionsThe body sent :...
View ArticleCan we send the Bamboo HR PayStub in PDF to the related employee by email at...
We have purchased Bamboo HR system for our company. And Bamboo HR allows us to generate a PDF for the PayStub for each employee at the end of each month. Now we want to send this PayStub PDF to the...
View ArticleSISS package not extracting all records from Api to database
I am trying to move data from Json Rest API to my database. I am using the data flow task with script task as source and OLE DB as destination.Sample data{"Id": 1,"Name": "Project A","owner": "User...
View ArticleReal-time writing of text file to remote microservice
What is an efficient way to augment the code below in order to POST to a rest microservice located remotely across the internet at mydomain.com/api/my-endpoint the contents currently written to a local...
View Article