Job Cancelled on Ktor's request executing
Basically, I've REST by Ktor in my android app. As remote data storage I'm using Back4App. When I send post method I have following message in ktor's logger:REQUEST...
View ArticleHow do you add a Contact or Member to a Segment in Wix (using REST API)
What API endpoint would you call to add a contact to a segment. I know the segment ID as I can see that when I query contacts. I matched up segment by viewing source in the wix dashboard.AI will...
View ArticleHandling Cookies and Axios Interceptors in Qwik JS SSR
I am developing a SaaS-based inventory application in Qwik JS with TypeScript. I use Axios to fetch data from a REST API and have implemented Axios interceptors to refresh the access token when it...
View ArticleGo Gin Setting and Accessing context value from middleware
I am trying to set my user context, in the middleware then trying to check if user have permission in other handler functions. But for some reason when I try to access the user from context it is...
View ArticleStatic url variable is not found in POSTMAN request
I want to define a custom static url for my connections in Postman:Then I tried calling a GET request by that custom static url:But I get Could not send request message because the variable is not...
View ArticlePowershell Invoke-RestMethod Call using Windows store certificate (Basic...
I would like to call a remote Rest web service from a Windows server hosting the remote certificate. I've exported the certificate from the remote server and added it to the Windwos store....
View ArticleCalling external Rest API from a Lambda function in java
I am trying to write a lambda function that takes information from lex input, and calls a rest api, passing that information as a parameter, returns a string, which i then want to send to lex as a...
View ArticleHow to Retrieve Redemption Codes from eBay API Using Node.js
I'm trying to retrieve redemption codes (e.g., coupon codes or discounts) from the eBay API using Node.js with axios.So far, I successfully obtain an OAuth access token using the Client Credentials...
View ArticleHow to split openAPI/Swagger file into multiple valid sub-files?
Our service implements different levels of access and we are using one openAPI YAML file internally.For external documentation purposes, we would like to create multiple openAPI files, that are valid...
View ArticleHAL and HAL-FORMS
I have a problem understanding something. I would like to implement HATEOAS and move to level 3 of a REST API. For now, I am using Spring HATEOAS, which is not very complicated, and it generates...
View ArticleAmbiguous method overloading for method java.util.LinkedHashMap#leftShift
I have a method that makes api call:public def getInfo(String A, String B, String C, String D, String E) { def response = null; def requestHeaders = ['A': A, 'B' : B] requestHeaders << headers...
View ArticleIs there a way to upload multiple images from Postman(API) in Laravel 6
I am trying to upload mutiple images from postman to a Laravel API, I expect it to store the image files in 'public/images' folder and save the name of the images in one column separated by coma in a...
View ArticlePHP REST API POSTMAN Fatal error Uncaught PDOException: SQLSTATE[42000]:...
I am getting this error in postman while working with a PHP REST API:Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error inyour SQL syntax;...
View ArticleAlways getting 400 - Bad request when posting data in a REST/JAX-RS
Person.java@XmlRootElementpublic class Person { private int id; private String fname; private String lname; // getter and setter}REST POST service@POST @Consumes({MediaType.APPLICATION_JSON}) public...
View ArticleDisplaying display names for values from backend [closed]
I have following questionThere are 2 apps - backend (asp.net core) and frontend (react) . Frontend app gets some data via REST API (for example currency rates) values from backend (as collection) and...
View ArticleOnly get/list OpenSearch indices a user has permissions / access rights to
I have configured a read-only user in OpenSearch 2.16.0 who should only see certain indices and their mappings/aliases, etc. These indices change over time, so that I want to be able to request a list...
View ArticleHow to send the Multipart file and json data to spring boot
I have the POST request api call to accept the json body request parameters and multipart file from client side(postman or java client).I want to pass both the json data and multipart file in single...
View ArticleSpring Java Web: REST API
I have a problem posting data to Spring Rest Application from PostMan. Whenever sending data I get this error:HTTP Status 404: The requested resource is not available.There is no indication that there...
View ArticleUnsupported Media Type error when making a post into a REST API
I have a REST API built with Spring-boot. I want to perform a post request using postman, but I'm getting the error:"Unsupported Media Type".I guess is related with the JSON, which should be bad form,...
View ArticleJava Spring Rest API 404 message
I'm making a RestApi in Java Spring(Gradle). When compile the code, and try it in Postman it returns with 404. I don't know why, and it is very annoying.package arma.Arma.RestController;import...
View Article