Quantcast
Browsing all 3667 articles
Browse latest View live

Jenkins REST API to retrieve completed job info

I am simply trying to retrieve completed job info including the job result and have looked at many articles and still I can't get the completed job info. The latest url I tried is as...

View Article


How to do a PUT request with cURL?

How do I test a RESTful PUT (or DELETE) method using cURL?

View Article


How to check whether update succeeded in node.js and sqlite3 ?

Could anyone give me any advice on how to check whether an update statement has succeeded when using node.js and the sqlite3 package installed from npm install sqlite3...

View Article

Why HTTP method PUT should be idempotent and not the POST in implementation...

There are many resources available over the internet wherein PUT vs POST is discussed. But I could not understand how would that affect the Java implementation or back end implementation which is done...

View Article

Image may be NSFW.
Clik here to view.

Error trying to post to an api with front-end app and flask

I have the following...

View Article


Image may be NSFW.
Clik here to view.

BrowsableAPIRenderer doens't have a file upload field

I'm trying to have an image upload field, so I could upload multiple images per post. But it seems like it doesn't have a file upload field, let alone that would allow and save multiple...

View Article

Image may be NSFW.
Clik here to view.

FastAPI GET endpoint returns "405 method not allowed" response

A GET endpoint in FastAPI is returning correct result, but returns 405 method not allowed when curl -I is used. This is happening with all the GET endpoints. As a result, the application is working,...

View Article

Image may be NSFW.
Clik here to view.

Share mongoose connection between repositories in a TypeScript monorepo

My MonoRepo structureIntent: I want to bring out database from app1 and app2 level and put it to common's database folder. So app1 and app2 or appN will pass on the connection string and the class from...

View Article


Offset in API calls in Azure Data Factory

I am using ADF to retrieve data from a REST API and loading into an SQL DB. The problem I have is that the endpoints in the API return a max of 50 records per page.I'm trying to use the built-in...

View Article


Powershell 7 fails when uploading a file with Invoke-RestMethod for multipart...

I am uploading files to a resource using REST in the following way. #File names $PathToFile = "C:\Path to file here.zip" $PackageName = $(Split-Path $PathToFile -Leaf) #Byte stream and encoding...

View Article

Using postgresql JSONB functions with RFC-9535 compliant Json Path...

We're developing a spring boot 3 application with a postgresql (v15.8) database. This is what our database schema looks like:CREATE TABLE test( id SERIAL PRIMARY KEY, document JSONB);We would like our...

View Article

Can't match API request from the system to stub data

I am trying to create a mock api (Oracle fusion) by using stub data. But struggling with one of the endpoints. API request from the app ->...

View Article

Keeping sensitive information out of URIs [closed]

I'm working on a RESTful API in the healthcare insurance industry. As a regulatory measure, we need to keep sensitive member information hidden as much as possible.One of the issues we've identified is...

View Article


For new app, is there any reason not to use websocket instead of rest? [closed]

Leaving aside dev experience with one or the other, browser and library support, what is the benefit of using old rest technology instead of websockets, for a typical client-server app ?As I see it,...

View Article

SharePoint REST API - HttpClient

In my SharePointREST Service I can make a call to add a folder to a library as follows:public async Task<string> AddFolderAsync(string library, string folderName){ var _serverRelativeUrl =...

View Article


Link back http response to its http request in a concurrent execution

I am working on a C# Web API that performs a specific action using a third-party-api-1, executed concurrently for speed. Once I get my output from the third-party-api-1, I would further get additional...

View Article

Image may be NSFW.
Clik here to view.

cURL API call in Google App Script with Header & Body data

I'm a bit of a novice with Google App Script and looking for a bit of help making an API call. The data in my call is working fine when used in Postman.Postman shows me the cURL call is as follows:curl...

View Article


My Request Body is populating with null value

I'm working on a Spring Boot application where I am sending SuspendResumeRequest to a REST endpoint and map it to a Java object. However, when the request lands in the controller, all the fields in my...

View Article

Spring Boot 3.4.2: ContentCachingRequestWrapper returns an exhausted...

I'm working on a Spring Boot (3.4.2) application where I'm using ContentCachingRequestWrapper to allow multiple reads of the request body. However, I'm encountering an issue where after the request...

View Article

Ordering and sorting in RESTful api

I want to allow users to choose which property they would like to sort by then choose whether to order by ascending or descending.For example, to sort based on the title and by descending order you...

View Article
Browsing all 3667 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>