Get measure details via Azure Analysis REST API
we want to get detailed information (measures, tables...) from our Azure Analysis Services cubes. The current idea is to use the Azure REST API, but unfortunateley the first attempt via Postman are not...
View ArticleHow can I use CodeBERT to automatically generate RESTful API documentation...
How to use CodeBERT to automatically generate RESTful API documentation by analysing the code.
View ArticleGetting 502 Bad Gataway after a service call in my app
I have seen there are similar post but actually I do not know how to analyze this problem to understand real cause. I have a cloud app working in a cluster and I am calling an Rest service. As a result...
View ArticleWhy is JPA query so slow?
I am implementing queries in my web application with JPA repositories. The two main tables I am querying from are FmReportTb and SpecimenTb. Here are the two entity classes (only important attributes...
View ArticleCustomize laravel sanctum unauthorize response
I am using laravel sanctum in my project, but I am facing a problem. I want to customize the 401 response code (unauthorized) to return a JSON when a token is invalid, something like this: {"data":...
View ArticleHow to upload Multiple Images to rest API in Flutter?
I am trying to upload upload multiple images to Rest API in flutter. the code i have written is given below: final List<File> _image = []; Future<Future<bool?>?> uploadImage(filePath,...
View ArticleHow to send multi-part file with request body
I want to construct an API of user signup in which I need user basic information and their profile picture. I don't know how I can achieve this. I have made a controller and requested for a body, but...
View ArticleAngular - Spring API - Azure Entra ID invalid Signature
I'm getting trouble to setup Microsoft Entra ID configuration.I have an Angular application which is configured like this...
View ArticleCORS error while consuming calling REST API with React
I created a restful api with django-rest-framework accessible with this URL http://192.168.33.10:8002/scenarios/ and I'm creating a React app to make calls to the api an d consume its data. I'm using...
View ArticleInteractive Brokers Web API - Place Orders
I currently to use the Interactive Brokers Web API: https://www.interactivebrokers.com/campus/ibkr-api-page/cpapi-v1/#introductionI get some difficulty to place orders, even if I manage perfectly to...
View ArticleAdding user in Power BI workspace using Power BI Admin API returning...
I'm trying to use this API call: https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-add-user-as-admin.I'm authenticating with a Service Principal which has tenant.ReadWrite.All and Fabric...
View ArticleXML Serializer not creating attributes
I have a simple API[OperationContract][WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Xml, ResponseFormat = WebMessageFormat.Xml, BodyStyle = WebMessageBodyStyle.Bare, UriTemplate =...
View ArticleSpring security for REST and Angular 2.0
Working on a Login application. Separated the front end with Angular2 and accessing backend using REST implemented with Spring. Initially implemented Login app with spring security but no angular 2...
View ArticleSpring Boot web RestClient test
I got implementation like this:@Serviceclass AbcService {private final RestClient client; public AbcService(@Value("url") final String url) { this.restClient =...
View ArticleHow to get progress of file upload in percentage
I have prepared a code sample that allows me to send a series of parameters along with a file to an API address like https://aaa.com/api/token/sendfile. I have used MSXML2.XMLHTTP in the project, but I...
View Articlei am trying to learn springboot myself from free resources and reached to the...
this is my controller classthis is my service classthis is the repository interfacethis is student classthe database is created successfully in mysql but when i try to post the data from the postman i...
View ArticleAuthenticating to RestAPI inside self-hosted Airflow from python script
I have a self-hosted Airflow which has Google Oauth implemented. I need to extract data from an REST API within an Airflow DAG that requires authentication. To do this, I want to use a Python script to...
View ArticleHow to assign SLA rubrik backup for mssql availability group with graphsql...
I need to assign SLA rubrik backup RSC for mssql availability group databases. I tried Rubrik Backup API to achieve this, I got confused. Now I tried the graphql query to get assign SLA for SQL AG...
View ArticleAzure Speech to Text API using file in blob storage- 415 response Unsupported...
I am trying to run the Azure speech to text resource on some audio held in blob storage, so I have a python program that creates the file in blob storage and then attempts to run the speech resource on...
View ArticleSoapUI/ReadyAPI - multi-part/form-data REST request. How to set content-type...
In a multi-part request, a non-file part can have one of many content-types (text/plain, application/json and application/xml probably being the most used). In SoapUI or ReadyAPI, I cannot figure out...
View Article