Access another part of a body request sent to a C# .net core app
I'm just starting to learn C# and building a service for a simple project. I am using Hasura as my API (GraphQL) and sending a Hasura action (POST webhook) to my C# app. It works by when the action...
View ArticleHTTP GET with request body
I'm developing a new RESTful webservice for our application.When doing a GET on certain entities, clients can request the contents of the entity.If they want to add some parameters (for example sorting...
View Article&$filter=substringof('ECG Spreadsheet.xlsx',File/Name) errors with "Column...
Using SharePoint REST /_api/web/Lists/getbytitle('DPC Documents')/items?$expand=File&$select=File/NameWorks fine but/_api/web/Lists/getbytitle('DPC...
View Article@RequestParam with Optional Spring REST
I have a Spring REST endpoint with Optional request params like below: public ResponseEntity<Product> globalProduct(@RequestParam Optional<Integer> id, @RequestParam Optional<String>...
View ArticleHow to download an artifact from MLFlow using REST?
I see the Python API:download_artifacts(run_id: str, path: str, dst_path: Optional[str] = None) → str (here), but I can't find the equivalent in REST.
View ArticleDrools: Executing multiple rules simultaneously via REST
I am new to drools. I want to fire multiple rules simultaneously depending on the condition. I am using batch-execution command as follows, but it gives me error : "Bad request, no commands to be...
View ArticleLaravel 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 adapter to query the underlying model....
View ArticleHow to Handle Missing Product ID in Amazon Seller REST API?
I'm working with the Amazon Seller Central REST API, but I'm facing an issue where I don't have a Product ID (such as ASIN, SKU, or FNSKU) to identify a product. How can I work around this or generate...
View ArticleWhat is better for REST API? WCF Web API (Preview 4) or OpenRasta or...
I see in this question that WCF Web API is still in preview and I've just started looking at OpenRasta.Though OpenRasta looks more mature than WCF Web API, I'm still a bit confused. Or please suggest...
View ArticleRest API (Post) Availability Test in Azure App Insights
I want to check whether my API is working fine. I have an api which only has post requests and no GET.The tutorial here:...
View ArticleAdding a Front End to a REST API [closed]
I am struggling to figure out how to add a front end to my Rest API. I am Trying to Create a HTML page that dynamically changes based on what url is being visited. I currently get the JSON response...
View ArticleHow to copy file using Rest API and javascript in Sharepoint 2013 between...
I need to copy file between document libraries. Library A is located in one site and Library B is located in subsite. I know how to copy file between libraries on the same level but the problem is with...
View ArticleRest API : Value cannot be null. (Parameter 'text') on GET Method
In my REST API in .net core, I created a route that returns me for an article code, the description of the article. But if the article does not exist or if the Description column of the article is...
View ArticleGenerating Swagger UI from java, providing example for a RequestBody doesn't...
how do I provide an example for the body of a request in my Swagger UI?I am using Springboot as a framework.This is the smallest java code to reproduce the problem:import...
View ArticleHow to Create a JSON Restful Web Service in C#/ASP with MySQL as Db?
I followed This to Create a RESTful Web Service which Displays Json as outputSo that I can use this JSON in the part of Mobile application,But Here Actually I have a Lot of data to display I am...
View ArticleDELETE request works from insomnia/postman but not from the frontend
DELETE request give 204 response code from Insomnia/Postman, but from the frontend it gives error for Delete request.Please find my Service code below : public bool Dissociate(string envCode, string...
View ArticleUse of HttpCompletionOption.ResponseHeadersRead and ReadAsStreamAsync
We are building a REST API that returns PDF documents, our API gets these from another enterprise API so our goal is to return the same stream we receive from that enterprise API to the caller of the...
View ArticleHow to send array of object using postman as a formdata
I am trying to send an array of the object as a form-data using postman. But it's not working. I follow this link in StackOverflow...But it's worked for mt.When I send my category like this it's sent...
View ArticleWebsocket vs SSE vs REST - TCP connections?
If each of them maintains only 1 TCP underlying connection, is the complexity in the logic / memory / cpu resources allocated on server and client only?
View ArticleHow does "REST" get under API protocol as well as API architecture?
Some documents say we cannot get rest as API protocols, but some documentation says rest is under the API protocol topic. Why?. Is REST an API protocol or API architecture? I need to know what category...
View Article