Generating REST documentation in a Codeigniter project
I have a REST webservice using Codeigniter and using this lib : https://github.com/chriskacerguis/codeigniter-restserverI want to generate documentation for this web service. I look to use Swagger UI...
View ArticleWhat is the way to parse a string of a well known format from an image on iOS...
Local travel cards in Saint-Petersburg, Russia have got huge id numbers that aren't easy to read and type into a web page when topping up the card online. So I want to build a small app that would take...
View ArticleGetting {"error":"invalid_grant","error_description":"authentication...
I am trying to get the Session ID for my salesforce partialbox.My Code:curl https://test.salesforce.com/services/oauth2/token -d "grant_type=password" -d "client_id=definitely the correct client id" -d...
View Article403 Forbidden when introducing authorization on spring boot rest
I am with my first spring-boot project. I did succesfully configure it to check for authentication; if the user/password was wrong the method was not invoked (status 401 unauthorized), if it was right...
View ArticleFedEx REST API - Upload Document error (multipart stream ended)
I am testing the FedEx REST API via Python. I am able to perform the authentication and e.g. validate a shipment - however, I am unable to perform an Upload Documents POST request. The official FedEx...
View ArticleStress testing an API endpoint with a callback mechanism
I have a RESTapi I'm developing that has an endpoint that returns a uuid and starts a background task that eventually returns some data via a POST request to a callback url on the client.I want to...
View Article"404 Not Found" when viewing swagger api-docs when using swagger-springmvc...
I am trying to configure swagger in my spring project, but hitting Hitting "http://localhost:8080/api-docs" says "404 Not Found".Maven Dependency<dependency>...
View ArticleHow to call another api from same app in spring boot
I have two RestControllers for user and Company.CompanyController: fetch from and store company information to companies table using service and repo level. UsersController : It is used to fetch and...
View ArticleHow to properly implement login and token handling from REST endpoint in...
I'm developing a MAUI Blazor application that communicates with a Django REST Framework backend. I'm trying to implement user authentication, but I'm encountering a "Bad Request" error when trying to...
View ArticleQuarkus REST Streaming - How to return error when stream crashes?
i need to create a CSV-Export that streams data (not load it completely into memory): @GET @Produces(MediaType.APPLICATION_OCTET_STREAM) @Path("/export/csv") public Response streamCsv() throws...
View ArticleOracle REST json db, do not see the record but can patch it
I am testing Oracle Autonomous Json Database REST using Soda for access via c# (Unity3d) and all works good.The process I use is:Create a json document with a time stamp, worksUpdate the time-stamp...
View ArticleGET request returns 404 after adding specific Gradle dependency
Iām working on a Java project where a specific GET request (used to retrieve information) returns a 404 error after I add a certain Gradle dependency. When I remove this dependency, the request works...
View ArticlePHP cURL OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
I'm trying to run the PHP cURL request example of an API from a Windows/IIS web serverHere is the code:<?php$curl = curl_init();curl_setopt($curl, CURLOPT_SSLCERT,...
View ArticleCannot Retrieve SharePoint Online List via REST API ā Bearer Token Issue
I am trying to retrieve data from a SharePoint Online list using a REST API call, but I am encountering an issue. Here is the code and request structure I am using:GET...
View ArticleHow to send push notification at exact time (for each each timezone) on exact...
Let's say, I want to send at 9am on Friday for each timezone. What is the correct way to set it up with Rest API?I see that send_after and delivery_time_of_day are separated values. And there are...
View ArticleTypeError - ctx.request.body is not a function
I am trying making a simple RESTApi using Deno and Oak. Why am I getting this errorTypeError - ctx.request.body is not a functionrequest: { url: "http://localhost:8000/todos", method: "POST", hasBody:...
View ArticleReceiving 403 response due to missing User-Agent
Working with some Wordpress sites that possess API calls to complete various tasks, such as saving data or sending transactional messages.I have been advised that one of our clients is updating their...
View ArticleUsing LaunchDarkly's React Web SDK, is there a way to send a context as a...
I'm set up with LaunchDarkly's React Web SDK in my app, and it works fine for small contexts. But I need to send a very large context with a lot of data, which cannot be done the default way in the URI...
View ArticleHow to get around rate limits of publicly available APIs
I am trying to build my first full web site, and my idea for this web site involves using a publicly available API. The only issue is that most public APIs have a rate limit of a certain amount of...
View ArticleHow to download a file as an InputStream through Struts 2 framework with Jersey?
I am working on client side of a RESTful service to let a user to download a file. I don't have access to server side code.The client is under the Struts 2 and submits a POST request with some XML, and...
View Article