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

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...

View Article


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...

View Article


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...

View Article

dotNET minimal API getting 404 not found on a secure endpoint

I am trying to implement a rest api using the dotNET framework. I am experiencing a problem with the "/secure" endpoint, getting 404 as a response message whether I login or not.If I don't use...

View Article

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 able...

View Article


Creating a generic mongo repository in spring boot

I want to create a generic mongo repository and just pass the document and use it, instead of creating multiple repositories for each document.So far this is what I thought...

View Article

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,...

View Article

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...

View Article


Add header to http request

My first post here. I'm using droidscript and I have to include an header that contains a specific user and a password in order to retrieve a token. I'm having trouble because I don't know where to...

View Article


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...

View Article

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...

View Article

Unable to Set ShipFrom when using ConfirmShipment in the Amazon Orders SP-API

We have tried everything we can see. Our last attempt added a 'shipFrom' block as mentioned in some Amazon samples. The shipment update is accepted without error, however the 'Ship From' in seller...

View Article

Image may be NSFW.
Clik here to view.

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 configure the...

View Article


can not access rest API running in docker container [duplicate]

I have a REST API built in .net 8. When it runs on my machine, I can test it using Postman (http://localhost:8009/api/...) without issue. But when I running it from inside a docker container, the...

View Article

Access denied for user 'root'@'localhost' (using password: YES). In...

enter image description hereI am working on the springToolSuite4,I was creating Restful API and trying to access the database through it. I have added all the dependencies and the password used is also...

View Article


Spring Data Rest : how to send Multi-part file with request Body

I want to construct an API of user signup in which I need user basic information and his/her profile picture also so I am very confuse that how can I achieve this ! I have made a controller and...

View Article

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++) { getAccountBalance(); }}private...

View Article


Why PATCH is neither safe nor idempotent?

I have trouble understanding why PATCH is not safe where PUT is. Aso the idempotent part - if I update a field of the resource, wouldn't that field return the same value after update?

View Article

Keycloak service to service

I have a secured architecture with Keycloak (see Securing thorntail service with KEYCLOAK for schema). It works well. But now, I can't figure out how to make service A getting some info from secured...

View Article

Image may be NSFW.
Clik here to view.

POSTMAN : rest api call for request JSON body + multipart file

I have RestAPI post call.In my spring boot java application its defined like this@PostMapping("/applications/files") @SecurityParameter public BaseResponse<String> uploadFile(@RequestBody...

View Article
Browsing all 3619 articles
Browse latest View live


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