Are there any CMS engines designed for creating reference documentation for a...
I'm in the process of creating a REST API for interfacing with a new SaaS site we're building and we need to document the API for use by a third-party iOS developer (plus other developers once the...
View ArticleDocumenting a Spring HATEOAS API [closed]
Are there any plugins out there (similar to Swagger) which provide the ability to document HATEOAS APIs?The Swagger interface is quite good but it doesn't have level 3 REST support.
View ArticleSSPI handshake failure when trying to connect with SSL in Java on JBoss 4.0
I'm having issues with a REST service on my client's testing server. In my local server, the REST POST works perfectly.Both servers are running Java version 1.8.201 and support TLSv1.2, TLSv1.1, and...
View Articlejava.io.IOException: unexpected end of stream on Connection in android
I have web service URL, it working fine. It gives the JSON data. When I am using HttpURLConnection and InputStream, I am getting this error: java.io.IOException: unexpected end of stream...
View ArticleUpload file with WP_REST_Request /wp/v2/media
I’m trying to upload a file within own plugin using WP_REST_Request and /wp/v2/media (POST).I’ve used the code from...
View ArticleAPI data to SQL Server table via Power Transform
I have been asked to get data from a REST API into a SQL Server databaseI have tried using Power Transformation but have been stuck when I have finished parsing the JSON data.I don't know which action...
View ArticleGet build details for all builds of all jobs from Jenkins REST API
I have a hosted Jenkins server and from there, I am trying to fetch the build details (like result, timestamp, duration etc.) for all the jobs using the Jenkins REST API and then save it in my...
View ArticleRestAssured: Update user giving Assertion error
Please help in this. I am getting Assertion error for update user.Error: PASSED: day1.HttpRequest.CreateUser FAILED: day1.HttpRequest.UpdateUser java.lang.AssertionError: 1 expectation failed. Expected...
View ArticleREST 404 vs 400. Which one to use?
If I have a REST resource as shown below:GET http://www.example.com/customers/{customerId}/ordersAnd in case the provided customerId does not exist, should my server return a 404 (Not Found) or a 400...
View ArticleHow to consume Request Body (JSON) along with multiple files...
I want to consume both JSON & files in an API for my spring boot application (using Spring WebFlux). I tried multiple ways as was recommended over the internet (Article1, Article2, Article3), but...
View ArticleSpring RestTemplate timeout
I would like to set the connection timeouts for a rest service used by my web application. I'm using Spring's RestTemplate to talk to my service. I've done some research and I've found and used the xml...
View ArticleI need to generate QR code for some data, I don't want to use...
With System.Drawing.Common the type initializer for Gdip threw an exception.Creating an API which should send a QR code (base64 encoded string) as a response. I tried using ZXing and...
View ArticleDjango Error 405 - Method Not Allowed (POST), can't figure out the cause
I'm using Python 3.10.6, Django 4.2.10, Django REST Framework 3.15.1I have a login page in JavaScript sending POST request to Django with user credentials (and CSRF token in header), but the login view...
View ArticleKeycloak. Could not find client when trying to create a client-level role
Initially, I couldn't create a client-level role using keycloak-admin-client. I decided to try to do this via the API using Postman in order to make sure that it doesn't work out that way either.I...
View ArticleFeathers.js (Express.js) service doesnt' work as REST
I'm setting up a little website using an Adaptable.io template to use on their service, but it uses frameworks i don't have knowledge (for ref, it's this package here...
View ArticleHow do I retrieve the message status with the message id?
Trying to find how you retrieve the message status (for example accepted, delivered etc.) using the rest API. If you can point me to the correct API call that should work for me. If you have a code...
View ArticleSinatra build REST API documentation [closed]
I have been looking all night for a gem to generate an API documentation from my sinatra routes. I should be able to specify with inline comments.I have found...
View ArticleMollie API - Cancel payment
I'm implementing a feature which required cancellation payment on Mollie, I saw that the IsCancellable is always false, so my question is, what kind of payment methods can we cancel on mollie, using...
View ArticleUnable to upload zip file through karate framework
I am trying to upload a zip file through karate framework using the stack overflow reference: put-requests-to-upload-a-file-in-form-data-using-karate and karate documents upload.featurePlease find the...
View ArticleNeed advice on Next js 14 and external api fetch logic
I'm new to Next js and I'm a bit lost regarding the fetch data to an external API.I basically want to fetch data (GET, POST, PUT, whatever), and add some pieces of logic that I don't wish to rewrite...
View Article