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.
92,826
questions
0
votes
0
answers
3
views
How to get Xbox Live session from XUID using the Xbox REST API?
I'm attempting to get Xbox Live sessions by an XUID like this:
curl -is -X GET "https://sessiondirectory.xboxlive.com/serviceconfigs/4fc10100-5f7a-4470-899b-280835760c07/sessiontemplates/...
0
votes
0
answers
18
views
What is the best way to convert Soap to Rest consumer services in java [closed]
My java spring mvc project application consumes 100+ SOAP services and it implemented using CXF framework. Now these services are moving to Restfull services.
Is there anyway to converet all the ...
1
vote
1
answer
39
views
How to resolve unknown differences between new HttpClient instance and HttpClientFactory instance
Currenty I'm building a solution which is basically an integration between multiple external REST services. Since the solution is having multiple external service, I want to use the .NET ClientFactory ...
0
votes
0
answers
109
views
Azure REST API Call - Microsoft.Authorization | Why roleAssignmentApprovals Fails
I have been working on Azure PIM integration project for a while now and have successfully managed to setup REST API calls for "Role Eligibility", "Role Assignments" and "Role ...
0
votes
0
answers
17
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
18
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
17
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
11
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
18
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
9
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
1
answer
30
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
21
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 ...
0
votes
1
answer
23
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
10
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": ...