Quantcast
Channel: Active questions tagged rest - Stack Overflow
Browsing all 3686 articles
Browse latest View live
↧

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 Article


How 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 Article


Handling 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 Article

Go 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 Article

Image may be NSFW.
Clik here to view.

Static 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 Article


Powershell 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 Article

Calling 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 Article

How 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 Article


How 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 Article


HAL 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 Article

Ambiguous 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 Article

Is 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 Article

PHP 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 Article


Always 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 Article

Displaying 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 Article


Only 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 Article

How 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 Article


Image may be NSFW.
Clik here to view.

Spring 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 Article

Unsupported 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 Article

Java 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
Browsing all 3686 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>