jersey rest web Service with Activemq middleware integration
I have a Restful service API developed with JAX-RS and jersey. I have deployed the same in TOMCAT 7. Now I would like to implement Activemq so that I would keep all request in a queue and process the...
View ArticleGetting 500 Exception response on my entity Booking due to @Future Annotation
I am building a web application based on hotel room booking and testing my REST API through postman and this @Future annotation from import jakarta.validation.constraints.Future; is giving me 500...
View ArticleObjective-C RestKit no Output
I am using RestKIT to make a GET Request for an API that I want to use. Sadly there is no output. This is the output of the GET Request:{"return_code": 0,"return_message": "","result":...
View ArticleRestKit Post / Put Response headers
I am currently building and API that will be consumed by an iOS client using RestKit. For the POST (create) operation, I am returning a standard 202 Accepted status with no content. The objectID is set...
View ArticleFTPS or Web API or GRPC for server-to-server communication with critical data?
Problem at hand is transfer of critical data in XML format between two servers, one in our company and other outside our company private network (multiple computers). Current solution involves setting...
View ArticleBest practices for identifying context in REST API operations [closed]
I have a REST API in my application with the following entities:Family: Each family can have multiple members.Family Member: Each family member can belong to multiple families.Resources (events, files,...
View ArticleConverting HTML escape sequence to Java
I am receiving a string using REST APIs.JSONObject obj = new JSONObject(output);JSONArray contacts = obj.getJSONArray("results");JSONObject result = contacts.getJSONObject(0);..String brandName =...
View ArticleImport "rest_framework" could not be resolved. But I have installed...
Here's my settings.py:INSTALLED_APPS =...
View Articleorg.springframework.web.client.ResourceAccessException: I/O error on GET...
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;I am working on a REST call from my windows...
View ArticleREST API Request for Mobile
I am creating an App for iOS/Andriod using appery.io (basically a PhoneGap type web site that uses a WYSIWYG) that will basically be a calendar for upcoming TV episodes. Users will select the shows...
View ArticleDjango User as foreignKey has strange behaviour
I am building a restful API in Django and I have noticed something quite odd!This is my Topic Model:class Topic(models.Model):""" Topic base model""" owner = models.ForeignKey(User,...
View ArticleWordpress Rest API 405 error unable to save Gutenberg widgets
I am getting a "response is not a valid json response" error when trying to save Block widgets. I have tried everything I can think of; reset permalinks, deactivated all plugins, reset to a default...
View ArticleDjango Rest Framework Token Authentication Not Working in production
I have deployed the Django Application on VPS server with following configuration.INSTALLED_APPS =...
View ArticleHow to get code coverage of Rest Assured testcases for my rest endpoints...
I am trying to generate jacoco code coverage report for my restassured testcases pointing to the rest end points. I am using springboot application.My controller class looks like :@RestControllerpublic...
View ArticleTo what degree should I adhere to implementing POST, PUT and PATCH? [closed]
I am creating a simple table for a database that has 5 columns.| id | user id | date | current calories | goal calories |Using Django, I implemented the getpostput and patch adhering to to standard...
View ArticleCL_HTTP_CLIENT | CODE 400 BAD REQUEST | ABAP
I am trying to post a JSON to a Web-Service.The connection itself works, but, unfortunately, the payload arrives empty to the other side.The variable jsondata is not empty and is a string.I don't know...
View ArticleHow do these two patterns differ, with regards to API design? [closed]
I am learning API design, and based on the blog I am readingGET http://www.nowhere.com/images/getImage?imageId=123is an antipattern, and should be avoided.while the blog does not mention this, I guess...
View ArticleHow to get data by mongodb object id in odata URI?
I have mongodb collection schema{"_id" : ObjectId("5a9f72ebe0f23d8e609e4f63"),"userid" : "1","username" : "XXX"}I want to know how to query the above collection either through _id or userid which is...
View Article"Maximum upload size reached" when sending data to R Shiny with WebView2
I have developed a C# Windows app that has an embedded R Shiny app through an iframe. This R Shiny app has been deployed on shinyapps.io and works fine. The R Shiny app needs to analyze data from the...
View Articlegetting issue in receiving the List in Spring Boot Apache Camel REST API
github link: https://github.com/shahulsley/came-rest-dslI have written REST API in Spring Boot using Apache Camel REST DSL. All endpoints work fine except...
View Article