Read from Paginated API in Apache camel Route
How to read from a Paginated REST API Endpoint or from a JDBC SQL Query that fetches "K" Items/Records at a time using Apache Camel DSL? Appreciate if there is a clean example for the same.Thanks in...
View ArticleAPI path is 404 Not Found for JAXRS and Jersey project
I am starting to use JAXRS to build a small application. I started with just a simple API that returns a hello world string on an API GET /api/hello. Here is my progress but I can't seem to let it...
View ArticleBest approach to upload the file via REST api from API gateway
User Case: Customer can upload the file from the public REST api to our S3 bucket and then we can process the file using downstream services.After doing some research I am able to find 3 ways to do...
View ArticleStoring REST API credentials safely for access in a Python environment
I have a number of REST APIs from a software program (ex: Tradingview)I would like to store the API credentials (e.g. keys, secrets) safely.I had thought about placing them in a Database table - but -...
View ArticleNew 2025 Spring Boot Integration with PyTorch Model: Embedding a Pre-trained...
I'm working on integrating a pre-trained PyTorch model into a Spring Boot application. My aim is to leverage the model's inference capabilities within the REST API exposed by the application. I've...
View ArticleWhy is my async remove method with DELETE restapi call in reactjs not...
Why is my onclick() remove method not working in this react component? I checked the DELETE API call using postman and it works fine. The interface is also displayed correctly with all the information....
View ArticleAPI values inside objects return differently between Postman and application
Whenever I make a call to the YGOPRO API, the values for the card_sets.set_price attribute return differently between Postman and what I get when using my React app. In Postman, the set_price values...
View ArticleWhy the get request won't get data from connected models?
My GET request to list all the posts and comments and replies, doesn't get all the connected models.models.pyfrom django.db import modelsfrom django.contrib.auth import get_user_modelfrom django.conf...
View ArticleCan different auth methods result in different access levels?
I'm troubleshooting legacy REST application used by my company (the person responsible for it's implementation is no longer with the firm, and sourcecode is being looked for) and encountered a weird...
View ArticleWhy Postman and mongoDb db.getCollectionNames return empty array?
I have a spring boot application connecting to a local mongoDB database. When I try to fetch all records from a collection it returns an empty array.Facture.classimport...
View ArticleSpringboot Database JDBC URL [Connecting through datasource 'HikariDataSource...
I am learning Springboot and wanted to make an application that lets me use postgres to make simple APIs. I have been trying to establish the connection to the JDBC to be able to create a table,...
View ArticleWhat status code should I use when session token is invalid?
When creating a web service (RESTful), what status code should I use when session token is invalid?Currently the one in my company sends me a 404, not found, but I think this is not correct, because...
View ArticleHow can I fix this code to avoid XXS Cross-Site Scripting Vulnerability?
I think I am getting this vulnerability from the ServletRequest.I understand I have to do some sort of encoding/decoding to resolve this XXS vulnerability, but not sure how. Can someone please...
View ArticleServletRequestParameter exception, parameter is not present
I am creating an API, using Spring Boot and using PostMan to debug and test the system. Now I am having a difficulty in sending a class object as a parameter.I wish to send an Entity passed as a...
View ArticleREST API URL pattern design [closed]
I am currently developing a REST API.I am developing an API that returns products associated with a user, and an API that returns products associated with a product.I can not be sure how to configure...
View ArticleHow to submit image with form data from flutter app to ruby on rails backend...
I am building api for mobile app developed using flutter,and there is a form that takes input data from the user and requires him to upload a couple of images, and i want my rails server to handle...
View ArticleHow can I access the body from HTTP delete in Flask?
I have this method in my Flask WEB API, that receive a list of IDs.@app.route("/delete_item", methods=['DELETE'])def delete_item(): items = request.get_json() print(items) my_class.delete(items) return...
View ArticleSabre: Bargin Finder Max Rest api - Invalid Request
I am currently trying to run BarginFinderMax at https://api-crt.cert.havail.sabre.com//v4/offers/shop. . for sabre api. The request header consists of Authorization header consisting of Bearer...
View ArticleWhere can I find jenkins restful api reference? [closed]
I am trying to integrate an external system with jenkins by REST API.Although I have done lots of google search on its API reference, I still cannot get a full list of jenkins REST API...
View Articlejenkins rest get duration in human format
I need to get job duration via curl command.I can get access to it:curl -s $JENKINS_JOB_URL/146/api/json?tree=duration{"duration":14182142}How convert the 14182142 to 3 hr 56 min ? ( via ksh, or in the...
View Article