Random Data Loss with Html Webform Submission with php on Website
I have a simple website built with HTML, CSS, and JavaScript. It’s hosted on a local cloud provider, with PHP handling backend operations. The website is straightforward, and I’ve implemented a...
View ArticleMay sec-fetch-dest header be used to distinguish REST requests from other...
The actual problem - at server side we need to distinguish REST requests from other browser HTTP requests like image request, page request and etc. By saying "REST request" I mean a request made by JS...
View ArticleOverlapping method route | Rust axum (utoipa)
Here is the problem. I'm using utoipa to generate documentation. And I want to split routes by groups. For example, in axum we can do something like this and it will works...
View ArticleCan I use identity in ASP.NET Core Web API?
I have a REST API project that created in ASP.NET Core and clean architecture. Also, I have a React project that uses my REST API and they are in two projects. Can I use identity in my REST API...
View ArticleRedirecting from DELETE to GET in Django
I use Django django 4.0.8 and django-tastypie.Why is it that when I send a request (for example) DELETE http://127.0.0.1:8000/api/v1/courses/3 via Postman, I get a redirect to GET /api/v1/courses/3/?If...
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 Design - Is it OK to have a single route return a large array of...
Merry ChristmasI'm looking for some feedback / to sanity check the implementation of a REST API endpoint.I am building an Authors dashboard that used by Librarians. On this dashboard, I wish to show a...
View ArticleHow to confirm client-side Facebook app login from server side
I have a very similar question to this question.I have a REST API connecting to an iOS app. I can get Facebook login working from the iOS client side, no probs. My question is how to ensure, from the...
View ArticleIdentiyIQ API integration
I am trying to use identityIQ API to get the credit report of a user who has an account in identityiq.com. actually even I find the API endpoints, it uses an access token in the Authorization header of...
View ArticleNew route doesn't exist
I have added new route to my api.phpRoute::get('/test', [WebinarController::class, 'index']);I have also added use App\Http\Controllers\WebinarController; to my api.phpAnd I have created new controller...
View ArticleUnable to retrieve the changeCounts properties for a git Pull Request in...
I am trying to find (roughly) the number of lines of code that has been changed in a Pull Request using the Azure DevOps REST Api. The documentation suggests that it is possible but I have been unable...
View ArticleSpring Boot (3.5.0) - Rest Controller - 400 with HTML response body
I am encountering a problem that spring boot restful service returns 400(badRequest) with html response body when the request uri path variable is blank for example:URI path: ../v1/users/{id}/job where...
View ArticleUpload file to SharePoint using REST API
I implemented SharePoint API connect/authorize/download functionality in an Excel workbook using VBA:base_url = "SP URL/_api/web/"end_url = "GetFileByServerRelativeUrl('" & endpoint_urlurl =...
View ArticleSending empty POST request in Api Platform Symfony Application
In my Api Platform Symfony Application, I have a class called Membership, which represents a many-to-many relationship between Users and Communities. It contains only two routes: DELETE, for user...
View Articlewhy 'PrimitiveValue' or 'StartObject' node was expected error
I am using SharePoint Online:I have a form that has a few multi-select choice fields. When I try to add an item, I get the following error: "value: "A node of type 'StartArray' was read from the JSON...
View ArticleSpring MVC @RequestParam a list of objects
I want to create a page where a person sees a list of users and there are check boxes next to each of them that the person can click to have them deleted.In my MVC that consumes a REST API, I want to...
View ArticleData duplication or async on-demand oriented communication on microservices
In our current microservice, we store the data that doesn't belong to us and we persist them all through external events. And we use these duplicate data (that doesn't belong to us) in our actual...
View ArticleHow to consume external REST API on Abp Framework's Application layer?
I'm using tiered ABP Framework version 7.I want to call external REST API service from let's say localhos:6767 url.External application also uses the swagger so I know exactly how the data should be...
View Articlecoturn, coturn-credential-api + peerjs Failed to construct...
I have a webpage that uses peerjs to create a WebRTC connection. It works fine when using their cloud server.I then use coturn as the iceServer. This works fine when setting static user credentials in...
View ArticleSpring Boot 3.4.1: Why Is spring.data.rest.base-path Causing 404 Errors?...
I recently upgraded my Spring Boot application from version 3.4.0 to 3.4.1 and encountered an issue with Spring Data REST.In version 3.4.0 (and all previous 3.x versions), the following configuration...
View Article