LDAP to SAML/REST proxy
We are doing a Cloud POC, we will have applications hosted in the cloud that can only talk LDAP. Is there any system/appliance/virtual directory in the cloud that can appear to be an LDAP server from...
View ArticleUse fetch or axios to access resource after login
How can I use fetch or axios to access a resource after having logged in? How is it possible to remember a login cookie (JWT Token) for multiple calls to the same RESTful API which runs on a different...
View ArticleMarkLogic doesn't recognize mime type of file
I'm building an application that inserts documents into MarkLogic server using the MLPHP library. The problem is when I insert a binary document, for example a PDF. The mime type will not be set...
View ArticleWhat is the HTTP request timeout?
I have a C# .NET 8 Minimal API application, which has one endpoint which could run hours.The setup is the following:var builder = WebApplication.CreateBuilder(args);var app =...
View ArticleWhat API-method to use to validate a lot of data
I have two different requests that relate to single resource.Let's call it "subjects".One of them validate "subjects" every time user do some action. Let's call it "validate".Second record "subjects"...
View ArticleServicenow Ui not getting updated with comments
I'm trying to capture the metadata of work notes for an sc_task in ServiceNow, so I'm posting work notes directly to sys_journal_field. However, I'm running into an issue where the work notes don't...
View ArticleDuplicate records in database from POST method
I am writing an app that will send a POST request to insert a new record into the database. Every records inserted will have an epoch time so me to track when is the record inserted. So far everything...
View ArticleIs there are any way to add 2 models as auth-user-model?
i have created 2 apps user and a vendor.This is the error i am facing."AttributeError at /users/admin/login/Manager isn't available; 'auth.User' has been swapped for 'vendors.Vendor'Request Method:...
View Articlejavax.ws.rs.ProcessingException: RESTEASY004655: Unable to invoke request:...
I am trying to make a Post call to a api using Resteasy version 5.0.4.Final . This is my code below:package com.jc2.service.rest.contactmoment;import com.jc2.service.client.domobj.ClientDO;import...
View ArticleHow to setup a RESTful API for a non-turnbased multyplayer game? [closed]
Im planning on a simplistic multyplayer game. only thing i have not been able to figure out is how to i handle global events and other players.Think of a tile based map. 1 step is from 1 tile to...
View ArticleWhat is the correct format of the query for Search Requests to Spotify's Web API
I want to send search requests to Spotify's Web API. They have a search endpoint described in their docs. The URL query requires two parameters:type of the searched item (i.e. album or track)q which is...
View ArticleDeploying Django REST API backend on AZURE
I have tried to solve how to deploy Django project on Azure, been following many tutorials but in this point i cant point whats the issue.Deploying from GitHub, deployment have been success whew times...
View ArticleResponding to an Office 365 event invite via REST
I'm currently working on adding functionality to allow a user to respond to an Office 365 event invitation (accept/maybe/decline) via their REST API. I'm not entirely sure how developers are supposed...
View ArticleHow do I make cors policy on hapi.js working?
I have this hapi.js restful api server demo that tried to be accessed by external domain but failed. here is the Hapi instance:const init = async () => { const server = Hapi.server({ port: 5000,...
View ArticleHow can I enable REST API on my WordPress web site?
I tried with this line, is it the right way?I got this error:Fatal error: Uncaught Error: Undefined class constant 'DOWNLOAD_JOBS' in...
View ArticleAzure logic apps encode left bracket in json query param names to ~2. How can...
I need a method to overcome logic apps' encoding. See "~2" in place of "[" below:"parameters~20]~2field]": "date_start","parameters~20]~2value]": "@variables('dateStart')","parameters~20]~2operator]":...
View ArticleWSO2 Micro Integrator: 400 Bad Request Error While Calling API via Mediator
I am using WSO2 Micro Integrator to call a native API that works successfully when tested directly via Postman, returning a 200 status code. However, when calling the same API through the Micro...
View ArticleREST WS GeneXus 16 U8 Java Enviroment
I'm trying to create a REST WS in GeneXus 16 U8 on Java Enviroment, deploying the application on WebLogic 12c, but when I'm trying to consume the service it shows me the following...
View ArticleIs it possible to use Kotlin Deferred to return a suspended response of a...
Is it possible to use Deferred in Kotlin to return a suspended response of a REST request?If yes, how to do it without errors?I made such an endpoint in Kottlin, Quarkus: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 Article