Idempotent HTTP PUT and DELETE: Should the server check for existing data,...
I'm designing a RESTful API, and want to ensure proper adherence to HTTP idempotency rules for PUT and DELETE methods. I understand that idempotency means repeated requests should have the same...
View ArticleSending gzip data using restclient or postman
How can I send gzip data as part of body using restclient or postman?. I used apache restclient 3.2.2 also couldn't able to get the response. I have attached images for reference.Basically I have an...
View Articlecannot implicitly convert type 'system.net.http.httpresponsemessage' to...
I am creating a web service in visual studio 2015 using MySQL databases. I want implement only a GET method using HTTP. Now when I am doing it I cam accross and error. Which is cannot implicitly...
View ArticleHow to obtain the required OAuth scopes for LinkedIn Posts API?
I am working on integrating the LinkedIn REST API to publish posts on behalf of both members and organizations. Specifically, I need to use the following API endpoint:POST...
View ArticleAPI token authentication failure in streamlabs
I've been trying to send a post request to https://streamlabs.com/api/v2.0/donations with the access token from user settings (note that i didnt register my app but i am just going to use it for my own...
View ArticleHow to Batch API Requests in MS Project Online REST API to Optimize Performance?
Background:I'm working with the MS Project Online REST API to fetch tasks and their corresponding task links for a specific project. Currently, I'm making individual API calls for each task and its...
View ArticleAzure Synapse REST API endpoint for workspace packages creation
I want to deploy a custom package (Python whl) to Synapse workspace using REST API (using Python request library). I need it to automate packages deployment via CI/CD (GitLab).I managed to do it using...
View ArticleErrorHandling in N-Tier ExpressJS Applications
Say the following layerscontrollers try { } catch ()business (services) try { } catch {}database (repository) try { } catch {}suppose when a exception occurs in database layer caught in catch block we...
View ArticleShould I have double HTTP Patches?
I'm coding a simple todo list app in Flask for study. My todo model has title, description and a check attribute. When false is a "to do" task, and when the user click on a checkbox it will change to...
View ArticleHow do I POST JSON data with cURL?
I use Ubuntu and installed cURL on it. I want to test my Spring REST application with cURL. I wrote my POST code at the Java side. However, I want to test it with cURL. I am trying to post a JSON data....
View ArticleContent-Length header with HEAD requests?
The http spec says about the HEAD request:The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. The metainformation contained in the HTTP headers in...
View ArticleRESTFul API Respond Code 200 or other while query data from server database?
The proplem from my job.I'm Android Developer,My co-work is RESTFul API developer(Call him ResA).My App is Map App,user click map,app search nearly device ids from map.then search device information...
View ArticleOracle Agile database server access and manipulation with rest API
Is there a way to connect the Oracle Agile database server through rest api like bitbucket servers can be access with python request libraries?
View ArticleLeetcode API for specific submission details using authentication
I am working on creating an API using express.js, I want to get time taken, space used, code and all relevant details for a particular submission using its submission id.I know leetcode doesn't allow...
View ArticleHow do I get and download the contents of a file in GitHub using the REST API?
I am trying to use the GitHub API to retrieve and download the contents of a file in my GitHub repository to mimic how I am using the Azure DevOps REST API.My ADO URL...
View ArticleRST sent after client hello [closed]
Rest API is sending RST response after client hello. Attached screenshot for reference. How to identify the issue?RST response is seen in Wireshark from app server(rest API hosted) to netscalar. I am...
View ArticleCreating RESTful server for raspbery pi 4 to display images
I got a task and have absolutely no clue on how to do it at the moment.I watched a couple of tutorials on REST API, but none of them are applicable for my application. I don't intend to use a...
View ArticleHow to return project details (name and other metadata) using rest api?
I’m fairly new to REST API and working on a product where client X interacts with n number of servers (Y1, Y2,…Yn) to retrieve different type of data from backend, using POST requests.Now I also want...
View Articlex-ms-documentdb-partitionkey issue with hirarchical partition key
We are trying to create a cosmos DB document with REST API Call. We have create hirarchical partition key like /id, /date. Now when WE passx-ms-documentdb-partitionkeyin header with ["value","value1"]...
View ArticleHTTP status code when single request asks for too large resource or too many...
Does somebody know which HTTP status code is the right one for the following situation?An anonymous client requests a range of items from a collection via a RESTful API. The client uses GET method with...
View Article