Spring Boot: Cannot access REST Controller on localhost (404)
I am trying to adapt the REST Controller example on the Spring Boot website.Unfortunately I've got the following error when I am trying to access the localhost:8080/item URL. {"timestamp":...
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 ArticleFlutterwave card payment shows 'Payload needs 3DES-24 Encryption' message. I...
I am using flutterwave payment gateway for payment using card. I am sending card details to flutterwave and getting following message:"Payload needs 3DES-24 Encryption"What should I do? How can encrypt...
View ArticleCanvas - LMS - How to get answers submitted by a user for a quiz?
I am trying to get the answers submitted by a user for a certain question of a certain quiz.I tried the following API endpoints, but none of them are returning the desired data:GET...
View ArticleAccess to Shopware API from CLI command without Client Credentials
I would like to call some Shopware API endpoint from CLI command (user is not logged in).I am able to create Client Credentials and use it for my calls - but it requires to generate Client Credentials...
View ArticleWhy CSRF token invalid only from React?
I have 1 Spring Boot Rest Server, 1 React Native App and 1 React App. I make CSRF and JWT tokens. It nice works in the mobile app and in Postman, but for some reason I cannot request POST requests from...
View ArticleMicrosoft Graph Rest API for Excel (Office 365): How to gain permanent access...
I would like to write a daemon (probably in Node.js) that is able to add rows to arbitrary users Office 365 Excel Workbooks over a long period of time. I have been studying the Microsoft Graph...
View ArticleMicrosoft Graph HTTP Get request not showing expected results
I am trying to list all of the sites in a particular tenant simply using https://graph.microsoft.com/v1.0/sites from...
View ArticleNo HttpMessageConverter for GlobalSendAttachmentRequest and content type...
I want to send a Multipart file through an API with contentType = multipart/form-data. When I am trying to send the request using restTemplate in Java SpringBoot. I am getting an...
View ArticleMVC issue,request not processing
index.js (main)const express = require("express");const app =express();const {connectMongoose} =...
View ArticleCeridian Dayforce HRIS API location [closed]
Our company is considering connecting CeridianDayforce HR management system with our product.Now I was asked to estimate required time and effort it would require to do so. The problem is, I can't find...
View ArticleWhat is the difference between Django and Django Rest Framework?
I am familiar with Django and understand that it is used to create web applications.Now, the issue is Django Rest Framework (DRF). Google says it's used to create APIs, but I just don't get it.If...
View Articlehow to design resource which are dependent on another resource
I have two resources configurations and clusters./clusters/configurationsclusters are created using configuration.How to design an api, to get the list of clusters created using a configuration id?can...
View ArticleCreating an API monitoring system for APIs hosted inside a server
I have an external app A hosted on tomcat with an API endpoint "abc:5000/home" running on a Linux server.I want to create a app/script that runs independently on the same server and monitors all...
View ArticleCreating html doc from postman collection [closed]
I've developed a pretty extensive API, and I have it on Postman, which works pretty nicely. Now I have to generate an html doc to keep it versioned inside /docs along with my sources.Is there a tool or...
View ArticleHow to create example of arrays in RAML v1.0
I am trying to create an example of array in RAML v1.0.I do not think it is specified in specification document. I can not find it there.I need this output in resource example section:{ tracks: [{...
View ArticleSpring REST API Documentation using Swagger [closed]
I am looking for a tool which could help me generate RESTful API documentation. My server is written in Java and uses Spring MVC framework. I do not have VIEWS in my server. It's a 100% RESTful service...
View ArticleCustom annotation based on another field value
I've got stuck on a problem with a custom annotation I created for a while now in my Micronaut REST app. What I need my annotation to do is: read the value of a boolean field in my record class and if...
View Articleraml 1.0 response types
I am trying to build a RAML documentation (v 1.0) and I am stuck it seams at the very first stages. I have the vendor resource, I defined as follows:types: Vendor: type: object properties: name: string...
View ArticleGood tools for writing rest api technical especification [closed]
What are good tools for writing rest API technical especification and documentation? I need to specify URLs, routes, endpoints.Another approach would be to automatically generate an API documentation...
View Article