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.
154
questions
1
vote
1
answer
38
views
How can I test a Java method that hits the actual REST API?
So I have a class that holds a bunch of methods(migrated from another project) that are suppose hit a REST API,but I don't know if they are working correctly.I want to create a driver class that i ...
0
votes
0
answers
10
views
Tableau 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 ...
0
votes
1
answer
25
views
Why are my Firebase RTDB Rules Always Returning Unauthorized
Rules
{
"rules": {
"Accounts": {
".read": "true",
"$user_id": {
// Check if object has all required values after operation
...
0
votes
0
answers
18
views
encountering Error: Content is not allowed in prolog with spring boot and apache camel, when transforming
I am writing a springboot application to convert SOAP to REST by using apache camel -
private String transformSoapToRest(String soapRequest) throws ParserConfigurationException, IOException, ...
-1
votes
0
answers
20
views
limit on the number of calls per minute for FeignClient
Call @FeignClient happens throw RetryTemplate.execute().
for example:
public AccountBalanceHistoryDto getAccountBalanceHistoryByDate() {
for (int i = 0; i < 100; i++) {
...
0
votes
1
answer
56
views
How do I make sure that I only load flights on search and not initial page load
Rails baby here! trying to work it out with Rails 7. I have a small toy app here that tries to search for flights then have users book a flight. I have managed to string together the app to a point of ...
0
votes
0
answers
27
views
Python script to fetch zip codes within a radius fails to populate CSV correctly
I am trying to write a Python script that reads a CSV file with zip codes, fetches zip codes within a radius using an API, and then populates the results into a new column in the CSV. The API requests ...
1
vote
1
answer
59
views
Spring Boot: Error 404 when accessing localhost endpoint
Just to give a little background on the project; I'm making a Spring Boot project using Maven. I have a two microservices, one called "products" and one called "config-server" to ...
0
votes
1
answer
35
views
How to revoke token in Laravel Sanctum?
I wrote a simple REST API with Laravel 11. I tested authentication and it looks like the token generated by Sanctum is not revoked despite that I delete the way the documentation writes.
class ...
1
vote
1
answer
11
views
AWS Elemental Live - Querying API returns the GUI Interface
I'm attempting to query the AWS Elemental Live REST API using a Python script. I am using a generated header as described in the API documentation that allows me to authenticate and send the request, ...
0
votes
0
answers
12
views
Strapi enum values change based some value
Is it possible in strapi to set different enums based some value?
I want to change my enums list based my exercise type, because I want to others who used admin panel for menage exercise data will ...
0
votes
0
answers
26
views
Issues Connecting to Spirent TestCenter Using Java and Tcl
I'm having trouble connecting to Spirent TestCenter (STC) using both Java and Tcl scripts. Here are the steps I've taken and the errors I'm encountering:
Using Java:
I tried running a Java script with ...
0
votes
0
answers
10
views
check acl for restful api when and api used in many pages
I have an api to get list of branches. I have two pages, first page use this api to list branches. Second page is for editing CashDesk record. Each CashDesk related to a branch and in page 2 I need ...
0
votes
0
answers
24
views
running python rest server in mojo
Since python rest server would be running in mojo and not in cpython we could get multithreading and not be worried about gil is this assumption correct? if anyone tried this combination do share ...
0
votes
2
answers
21
views
Dynamic filter options using shorter URLs
What if we want to have GET requests send from a Frontend App to a REST API where the parameters can be huge?
The scenario is an endpoint that can receive a huge amount of filters, by huge is over 7k ...