Quantcast
Browsing all 3637 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Postman Bad Request Error When There Is No Syntax Error

I have been trying to send a post request to my server on Postman. But I have been getting the 400 Bad Request Error. The description of the error says "The request cannot be fulfilled due to bad...

View Article


Recursive Call to get and update all folders and files on a SharePoint...

I am struggling to find out how to get all Files and Folders inclusive of all Subfiles and Folders (threshold limit off) recursively.Just by sticking together one URL would be helpful to put this later...

View Article


Jenkins REST API returns 403 when deleting credential with C# method

I checked for this behaviour from previous topics raised here, but all of them are either very old or not giving any exact answer, so that's why I'm raising my own question.The method below deletes...

View Article

run jasper report using rest request in C# asp.net

I have been trying for days to get jasper reports integrated with my .net website. I have tried several ways including the soap and rest service as well as a custom library suggested in another...

View Article

Download NOAA's Local Climatological Data through an API

I want to download data from the Local Climatological Database using an API, ideally through R so I can select data from many stations. However, figuring out how to format the request would work as...

View Article


Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or...

I have already found similar answers for this but nothing work with my problem as I am getting this exception as-Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE...

View Article

Image may be NSFW.
Clik here to view.

Spring Rest Controller with Byte Array file

I am trying to send a byte array of a file content from angular to the rest api. But I am getting Http 403 forbidden. I don't have any security enabled. I am not sure what I am doing wrong. I tried...

View Article

Spring Mockito Unable to mock RestTemplate

Hi!I'm Unable to mock fetching data from GitHubApiTo fetch data i use RestTemplate ExchangeInstead of taking data from github i want to mock my ownExpected :1Actual :11Fetch...

View Article


Nexus 3.77.1 with API installation , EULA issue "Invalid UTF-8 start byte 0x91"

I am maintaining an automated Nexus installation on kubernetes with a git bash script running on windows. With the recent 3.77.1 version, it is required to accept end use licence which can be done via...

View Article


org.springframework.http.converter.HttpMessageConversionException: Type...

I try return object with Resource and simple Object, but get error:org.springframework.http.converter.HttpMessageConversionException:Type definition error: [simple type,...

View Article

Error code pattern for API

What are the good choice for API error code response pattern?Instead of using different codes indicating different type of error100001 // username not provided100002 // password not provided100003 //...

View Article

What is the best practice when using HTTP methods which include (GET, POST,...

From my experience, this is what I understand at the moment.Get, delete: we should use query string(filter, sorting...), target-uri-identifier(api/users/1) to pass the data to server, avoid to pass the...

View Article

What are the effective ways to generate boilerplate code for the Go REST API?...

I'm starting a new Go project that involves building a RESTful API. I find myself spending a lot of time writing repetitive boilerplate code for things like request handling, routing, input validation,...

View Article


what should i use to store my photos/videos for my api to retrieve for my...

ok so i'm making pretty much a google photos clone, cause i wasn't tryna pay that much to store all my stuffi'm developing my restful api in node.js (express) rn and i'm trying to figure out two...

View Article

How to check the status of a spring batch job whether an instance of the job...

I have a requirement where i have created a custom UI for spring-batch monitoring using the spring-batch-admin JSON api. I have a requirement where i dont want to allow the user to start job when an...

View Article


Directus filtering with OR operator in the REST URL

I have the following url/items/bus_stops_bus_drivers?filter[bus_drivers_id][_eq]=2&filter[bus_stops_id][_eq]=3I use & to connect two filters with an AND. What character should I use for OR...

View Article

LinkedIn API 400 bad request

I am trying to add an 'ad account user'(documentation)I've tried the request as below, and with with URN. Both give me the error: compound key parameter value is invalid:curl --request PUT \ --url...

View Article


BudiBase request returns different results in JSON and Raw

I have been developing against a REST API for a private vendor, and haven't had issues with it prior. I'm attempting to streamline a workflow prototype in BudiBase, and in BudiBase the API is behaving...

View Article

Netsuite Rest API Create Non-inventory Item for Sale

I try to create a Non-Inventory Sale item with the NetSuite API.Here is my request :Method : POSTEndpoint: /services/rest/record/v1/nonInventorySaleItemPayload:{"itemId": "Test Item","IncomeAccount":...

View Article

Posting a file and JSON data to Spring rest service

I am building a Spring rest service for uploading a file. There is a form that consists of various field and one field for uploading a file. On submitting that form, I am sending a multipart form...

View Article
Browsing all 3637 articles
Browse latest View live