Category "rest"

REST: handling nested resources and paths

I have three resources, owner, dog, and puppy and I am designing the REST endpoints for the puppy. I already know who the owner is with every request via JWT a

Spring-boot : Set Timeout on REST @ Server Side

Spring-boot application deploys on IBM Liberty Server. Though calling client can set a timeout on the request , I want a timeout to be set on Server side for

UML diagram (Class Diagram) of whole Spring project in STS

I have developed a REST API's Project and I want to draw a class diagram for every API individually. I have downloaded the eclipse plugin of PlantUML but this d

Issue populating assignment_group in servicenow via REST API

I am trying to create Servicenow incident ticket using REST API. Here is the link and body: https://<mydomain>.service-now.com/api/now/table/incident and

Is it possible to query a KSQL Table/Materialized view via HTTP?

I have a materialized view created using CREATE TABLE average_latency AS SELECT DEVICENAME, AVG(LATENCY) AS AVG_LATENCY FROM metrics WINDOW TUMBLING (SIZE 1 MIN

M2M Client Credential Flow between NetSuite and Synapse

I am looking to create a flow somewhere in the Azure stack to allow me to get M2M authentication between Azure Synapse and NetSuite. The goal is to be able to d

Get Woocommerce CoCart API response(add, update, delete) after promotion applied

I would like to get the responses of each route (add to cart, update cart and delete cart) already applied to the promotion. What I face now is it only response

POST json data (stored as json files in ADLS) to REST endpoint in Azure Data factory

I have a requirement to POST json data (stored as json files in ADLS) to REST API endpoint. I have to use Azure Data factory for this. I have gone through Micr

Laravel API resourceCollection using array rather than model

I have an API that uses API resource and resource collections to correctly format the JSON responses. In order to decouple my controller from my model I use an

Sending POST request with POSTMAN to Java REST API and getting null values in the xml response

I am creating a REST Service in Java and now I am building the post method which has 2 parameters that has to be inputted as xml in postman (for test) and get a

Import "rest_framework" could not be resolved. But I have installed djangorestframework, I don't know what is going wrong

Here's my settings.py: INSTALLED_APPS = [ 'rest_framework', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'd

Retryrequest() of httpClient method not invoked during Rest API call

The Rest API responds with 429 error code and the retry has to trigger 3 times .But the control isn't reaching the retryrequestethod of HttpRequestretryHandler

Can't allow Cross-Origin Request in local Nodejs server

I've created a local REST API server in nodejs, which is fetching data from local Mongodb database. I've also created a basic web page, which request this data

Is there any string size limit in POST request? [duplicate]

I have to make a POST API (python), where the APP will send the encoded string of a file(base64 encoding) in the request body. But, for a larg

Does Google expose "Find my Device" APIs?

Google has its "Find my Device" service allowing you to find your phone, make it ring (even when silenced), remotely wipe it, etc. by entering here: https://mya

How to create a new project and commit it in fortify ssc using REST API

I am trying to create a new project in fortify using REST api and so far I have been able to create the application and version,but I am not able to add attribu

How to get a Task's "Unique ID" from a Project Web App via REST?

I'm a fairly experienced SharePoint developer, but brand new to MS Project and Project Server / PWA. In MS Project Pro, there is a column called "Unique ID" th

How does this function that takes in a RequestHandler in express work?

I was browsing through some code examples for Express server on GitHub and came across this function used to wrap around REST API controllers and was confused h

HTTP Verbs PUT and DELETE: 405 Method not allowed - how to allow?

I've been trying all the suggested workarounds for ASP.NET to be able to address my REST web service by HTTP Methods PUT and DELETE. However, none of them seems

Getting "curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)"

I have a Django app which returns a large JSON while calling an API. The problem is when I'm requesting the data, the data itself is truncated which is crashing