Questions tagged [rest]
REST (Representational State Transfer) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It has increased in popularity relative to RPC architectures such as SOAP due to the intrinsic de-coupling of client from server that comes from having a uniform interface between heterogeneous systems.
49
questions
0
votes
0
answers
7
views
Chrome pre-flight returning blocked by CORS: does not have ok status, while my .rest client gives 200
I am using the chrome extension Allow CORS: Access-Control-Allow-Origin with all sorts of different setting changes, including this custom rule: Chrome running a pre-flight for my typescript fetch ...
0
votes
0
answers
13
views
where are the IP ranges for lookerstudio and sheets stored?
Where are the IP ranges for both sheets and Looker Studio stored? I tried using an API to connect to Databricks, but the message of error says:
API request failed with status 403: {"error_code&...
-1
votes
0
answers
15
views
Best approach to pass resource id in URL when redirecting user to external app from another app (GET request) [closed]
Suppose that there's a website about some events people can book a seat for, and there's a separate web app that handles the booking process. When the user decides to go about booking a seat (or ...
0
votes
0
answers
6
views
What are the API names for Address' compound fields that are not Mailing/Billing/Etc.? Salesforce
So I currently am working with SOQL (PATCH API Call) to update an Address field on a contact record. This Address field is called Address 2 (API Name: Address_2__c) but I cant seem to be able to pass ...
0
votes
0
answers
14
views
OkHttp Response doesn't have provided body object on the client side
I am writing REST APIs using okhttp library in Spring Boot. I have my OkHttpClient requesting a GET request(client) from another API(server). Both the client and server uses OkHtttp libraries, so I ...
-1
votes
0
answers
8
views
Is there any step-by-step guide for configuring PayPal webhook response received from subscription payment made by smart subscribe button?
I have created an app in PayPal to allow subscriptions using smart subscribe button. I also enabled Webhook with my server url and needed events. I got a response when subscription was made. But the ...
-1
votes
0
answers
20
views
spring boot postmapping request header too large
I am trying to convert an html string to pdf using flying saucer, the code works fine on my local, but then when I deploy to dev environemtn, im getting request header too large error. I tried adding ...
0
votes
0
answers
15
views
Modify Content-Type value in boundary/form data
Is there any way in REST Sharp version 111.3 to modify the Content-Type value inside the form data?
Below is an example outgoing call I captured with Fiddler. As you can see, the content is JSON (...
-1
votes
0
answers
20
views
REST login service with JWT authentication fails
I'm trying to setup a REST service with JWT authentication, but it fails without hope.
The architecture of the service is based on Spring Boot 3.2. and all the latest Spring Security components.
The ...
1
vote
0
answers
35
views
how to pass client id and client secret from oath 2.0 redirect to call back api
i was trying to set up dropbox oauth in my app, the following is the handler for grantapi, the grant api redirects the user to dropbox authentication page its address is localhost:8089/api/grant
...
0
votes
1
answer
38
views
File is blank in laravel when uploaded in Postman
I have this problem. I have a laravel code where I tried to submit a post request with 'attachments'. The problem is, when I try to add 'attachments' to the body and added the headers multipart/form-...
0
votes
1
answer
21
views
Spring REST Service with spring security JWT
I'm trying to setup a REST Service with JWT authentication (I confess that many parts of the authentication process have been copied from some tutorials), it seems the code is ok, Spring compiles ...
0
votes
0
answers
8
views
How to include fields with null values in Netflix DGS Graphql response
We are using NetflixDGS with spring-boot to implement rest API. Say my API response has to return below object
{
"name": "Abc",
"age": "25",
"place": ...
-1
votes
0
answers
23
views
How can I send MultipartFile using FeignClient?
imageI have an HTML form with a file submission, how can I send it to the api.
When I try to send it directly I get com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found ...
0
votes
0
answers
14
views
Does Appian provide a REST API or SDK to retrieve a list of application names?
I’m working on integrating Appian with a C# application and I need to retrieve a list of application names from my Appian environment.
Could anyone tell me if Appian provides a REST API or an SDK that ...