What is the best way to build and expose a Machine Learning model REST api?
I have been working on designing REST api using springframework and deploying them on web servers like Tomcat. I have also worked on building Machine Learning model and use the model to make prediction...
View ArticleUsing the Teamcity REST API to get a build Log
Say I have a specific build, such as:https://example.com/httpAuth/app/rest/builds/id:161010How would I get the build log of that build?
View ArticleCode analysis tool for Monolith java based application migration to SOA
We have a monolithic application and we want to create multiple service based projects(REST APIs). Is there a product available in market which can measure some of the improvements such asHow much Code...
View ArticleHow to refresh a token when token expires in a go backend application
In my go backend application I generated a token when my app is initialised.And I want to use this token as a global variable for further authentications.type Token struct { Name string Value string...
View ArticleHow to get all tracklog of member in club (with name athlete and time start...
I write a service get data from club Strava for Running Club. I want show on dashboard with some infor like that: fullname, distance, moving_time, elapsed_time, time start tracklog, ...I call api...
View ArticleMultipartException: Current request is not a multipart request
I am trying to make a restful controller to upload files. I have seen thisand made this controller:@RestControllerpublic class MaterialController { @RequestMapping(value="/upload", method=...
View ArticleHow to do Serialization correctly when receiving a response on a request
I have a GitHubAdditionalResponse class that is used to deserialize a JSON response from the GitHub API. One of the fields, description, can contain very long text. I want to limit its length to 200...
View ArticleWhat HTTP request type to use when no resource is being retrieved or modified?
I am implementing an API endpoint that receives text through the request body, parses it, converts into structured data, and returns it as JSON in the response.Since no existing resource is being...
View ArticleHow to disable AWS REST API Gateway query parameter decoding sent to HTTP...
AWS REST API Gateway decodes query parameters before sending them to HTTP integration backend. But it decodes space written as %20 into +, which is not acceptable for our solution. All chars should be...
View ArticleShibboleth with Node.js Rest API and Angular 2 Application
a university wants an application with Shibboleth authentication. They provide their own IDP.I want to make a Node.Js backend and Angular frontend. They both should communicate with REST. Is it still...
View ArticleShould we associate matrix variables to path parameters in Spring Boot?
When I associate matrix variables to path parameters, I am able to access the values of the matrix variables but I can't when I associate it with the fixed path segments. Why is this...
View ArticleCan I stream a file upload to S3 without a content-length header?
I'm working on a machine with limited memory, and I'd like to upload a dynamically generated (not-from-disk) file in a streaming manner to S3. In other words, I don't know the file size when I start...
View ArticleWhat HTTP status code do you use when endpoint is disabled by feature-flag /...
I have been using 503 Service Unavailable or down for maintenance. However some http client libraries i.e. axios treat 503 as retriable error. It makes sense to retry it if the response is produced due...
View ArticleHow can I fix this error with my API (404 not found)
I'm making an application that takes codes from mongoDB and lists them onto a web page, but currently I'm getting an error in the console:GET http://localhost:4200/api/code/codes/ 404 (Not Found)...
View ArticleIf transactions over REST are unachievable, how can REST ever be really...
There aren't any transaction semantics defined for REST. Some say this is implicitly against what REST is, whilst others say any attempt to do so would result in tainting the REST systems.Say REST...
View Article"Http failure during parsing" in Angular
I am trying to connect my Frontend in Angular to an Api developed using .NetCore but I am getting the following errorHttp failure during parsing for http://localhost:5000/User/registerDespite the error...
View ArticleQuestion on designing a REST API to return possible nested resources
I have a Controller for a resource called Checklist. A Checklist can have multiple UserRights. A UserRight contains the ChecklistGuid, UserGuid and an AccessModifier (Read/Write).I have following...
View ArticleHow to Send multiple request concurrently/Sequentially in postman with...
For example, below is the JSON request data to "add a device" in the DB.For example, I want to add 10000 devices with different IMEI number and different phone number to the server for testing purpose....
View ArticleIs there any way to use variable name in API testing in Postman?
I'm testing the API using Postman (new to the API testing and has just started to test it), it was previously working as I use the variable name it stops working and displaying source code instead of...
View ArticleCannot find symbol with Lombok
Basically I'm trying to create an API using Spring Boot, however I have some problems with Lombok annotations.This is my domain (I can use @Data, but it shows the same error):@Entity@Table(name =...
View Article