What is the appropriate HTTP Status code to use in this scenario?
I'm implementing a simple API flow which involves acting as a gateway to multiple upstream APIs.image demonstrating the flowBasically, a client provides a token to this endpoint, the server makes...
View ArticleTemporary upload link led to invalid upload attempt Dropbox error
I was trying to upload files to my dropbox account reading dropbox api documentation.I got a temporary upload file link when i did the following cURL commandcurl -X POST...
View ArticleValidate data coming from different sources (body params or Query) in a...
In a nestjs APP, I am designing an API endpoint. While creating this endpoint I started having an issue in taking the right decision when it comes to validating incoming requests using a decent and...
View ArticleHow services communicated before RPC
I recently found out that RPC and REST are just API constructs and not different protocols through which two services communicate and send data to each other over the network. The underlying protocol...
View ArticleWhat's the difference between Postman get and javascript fetch get? [closed]
Does anyone know how can I replicate the postman http request settings in javascript?My REST API response in postman is perfect, but if I try it with javascript fetch with the same method, parameters,...
View ArticleRest API response status code for different scenario's [closed]
I am developing few REST API in my Spring boot application so I have few clarifications regarding the Rest API Response HTTP status codes.Below are the scenario's,1) /products - returns List of...
View ArticleHow to retrieve Scheduled Post in Wordpress REST API
I've spent a lot of time to find the right solution for this.The best information I could find so far is from here:...
View ArticleHow to create Phonegap app using Magento soap or rest api
I want to create an Android app using Phonegap using Magento soap /rest API. The basic problem I am facing is when I use rest API, I am not able to authenticate the soap user I have created in Magento...
View Articlei'm on vb6, i need to set a get with https://oauth.openapi.it/counters/total
I use for all my get rest API this code in vb6:Option ExplicitPrivate Sub RestExample()Dim APICall As StringDim myXML As New MSXML2.DOMDocument60APICall = "http://www.zzzzzzzzzzzzzzzzzzzzzzzzzz"With...
View ArticleAttempting to scan DynamoDB item attributes into a List of strings issues
My current project consists of building an Angular frontend to capture a POST request API that both sends out data (such as a list of "image_id", "modules", etc) from my Amazon DynamoDB table or...
View ArticleSwagger UI 3 Authorization header value getting issue in spring boot 3
In my application using Swagger3. In that not able to get the Authorization header. It shows the "org.springframework.web.bind.MissingRequestHeaderException" issue. I am using spring-boot-3, spring-6...
View ArticleWebTestClient returns 404 instead of 200
I am testing the REST layer of my reactive SpringBoot (3) app and using Spring's WebTestClient:@ExtendWith(SpringExtension.class)@SpringBootTest(webEnvironment =...
View ArticleConverting JIRA API cURL to c# http request
I have a cURL with which I connect to Atlassian JIRA API and search an issue with JQL, filtering issues by project name and status.This is the cURL command, which works pretty well:curl -u...
View ArticlePush notifications for data events in an API
I'm writing an API using REST for my SaaS application. For the most part users will call the API to query, update, and insert data based on events in their other systems. At times though, the users...
View ArticleTableau Server REST API - How to filter jobs by extractRefresh task ID?
Is there a way to filter jobs using the tableau REST API according to task ID?I have an extract refresh task I want to run on demand using /runNow but I want to perform a check to see if a job with...
View ArticleAzure ServiceBus REST API - Receive Messages on a Topic/Subscription
Does anyone have any examples of using the Azure ESB REST API to receive messages from a topic/Sub.I can hit the subscription and get the subscription summary details, but can't see how to get the...
View ArticleRecomendation for tool to test and compare API responses [closed]
We are migrating database from sqlite to DynamoDb. Migration includes update of code for REST API. I am looking for recomendations for tools that I can use for testing of REST API responses. Use case...
View ArticleDifficulties sending multipart/form-data request via Postman
please, this is y concern: I'll like to know how to query a web service defined as in the below code using postman for test purposes.PS: I can't change the method signatureI have a web service like...
View ArticleHow to send Json String using REST to java webservice in Parameter in android?
Fiends, i sending JSON String with three parameters to java web service method. but on java side method cant print in console. Please guide me what i have to change from below code?String json = "";...
View ArticleCustomize laravel sanctum unauthorize response
I am using laravel sanctum in my project, but I am facing a problem. I want to customize the 401 response code (unauthorized) to return a JSON when a token is invalid, something like this: {"data":...
View Article