Questions tagged [endpoint]

This is a general tag used for all kinds of logic that reside in some receiving or sending scenario.

endpoint
Filter by
Sorted by
Tagged with
0 votes
1 answer
160 views

Synapse Create Or Update Sql Script using API endpoint with pyspark

I am able to perform a get request to retrieve SQL scripts within our workspace as mentioned in the docs: Sql Script - Get Sql Scripts By Workspace %%pyspark import requests token = mssparkutils....
ByronSchuurman's user avatar
0 votes
0 answers
108 views

Render API Key field in Swagger UI for FastAPI using APIRouter

I am building a FastAPI application, where I want to add in an authenticate_user function that will do just that on all endpoints associated with a router. The API Builder looks like this: ...
Andrew Ray's user avatar
0 votes
1 answer
160 views

How to design a REST API endpoint with relations

I'm working on designing a RESTful API, and I'm facing a challenge when it comes to modelling and implementing endpoints for entities with many-to-many relationships. Example: The Role table stores ...
hantoren's user avatar
  • 707
0 votes
2 answers
469 views

Azure Machine Learning - Online Endpoint Schedule/Cost management

We're experimenting with MLOps on Azure Machine Learning, and as such, want to manage an Online Endpoint for inference. However, we also want to save costs, and since the software is only running in a ...
lte__'s user avatar
  • 7,438
0 votes
1 answer
103 views

Is there a way to fine-tune a general model with calibration data and then perform inference for an AWS SageMaker model?

I have a saved ML structure with weights for a model on SageMaker. Is there a way so that I am able to call the SageMaker endpoint with calibration data (based on a single user), update the weights ...
athanzxyt's user avatar
0 votes
1 answer
15 views

Is there an API to filter out list of PRs from a folder within a mono repository in GitHub?

I have a main repository “mainrepo” and it has multiple folders (one of them is “subfolder3” but I need a list of PRs within a folder inside the main repository. I tried using GET /repos/{owner}/{repo}...
user22671656's user avatar
0 votes
0 answers
265 views

Upgrading Spring Boot from 2.7.4 to 3.0.0 results in 404 on REST endpoints. Tomcat 10.1.1

I recently attempted to upgrade my Spring Boot application from version 2.7.4 to 3.0.0. However, after making this upgrade, I encountered a problem where my REST endpoints are returning a 404 error, ...
Maxym's user avatar
  • 1
0 votes
2 answers
397 views

Deploy AWS SageMaker endpoint for Hugging Face embedding model

I would like to deploy a huggingface text embedding model endpoint via aws sagemaker. Here is my code so far: import sagemaker from sagemaker.huggingface.model import HuggingFaceModel # sess = ...
MaxS.'s user avatar
  • 23
1 vote
1 answer
105 views

Trouble Connecting Flutter App to Local Appwrite Server on macOS

I am experiencing difficulties connecting my Flutter app to a locally hosted Appwrite server on my macOS machine. Despite trying various endpoint configurations, I cannot establish a connection. Here ...
Balkis's user avatar
  • 39
0 votes
0 answers
76 views

User authentication by using SAP SF credentials

I'm developing a web application that users have to login, Instead of my own authentication, I need to use SAP SuccessFactors authentication to check whether the user is legit or not, by using the ...
Kamalesh Waran M's user avatar
0 votes
0 answers
13 views

MultipartForm Request: How to make the distinction between replace or delete file on server

How can I make a distinction between replacing vs deleting a file on my server by a PUT request? Lets say I have an endpoint for updating my user. A user can have a picture and a backgroundPicture. It ...
Ahmet K's user avatar
  • 763
0 votes
0 answers
112 views

How to block endpoints by condition. AntMatchers does not recognize path variables

I have a Spring Boot application, with a property in the .properties file. I would like to be able to block/enable some endpoints based on condition. I've currently created two beans annotated with @...
Lako12's user avatar
  • 304
1 vote
0 answers
97 views

Model serving in databricks: An error occurred while calling o219.collectToPython

I want to train an ALS model (from MLlib) for product recommendations and serve it using Databricks Model Serving functionality (https://docs.databricks.com/en/machine-learning/model-serving/index....
Martynas Venckus's user avatar
1 vote
2 answers
31 views

ExpressJs dynamic routing not working properly with react get request

I have a simple api and client application. Api written with express js and client-side is react. I arranged the react dynamic routing but when I try to send get request to endpoint with dynamic path, ...
Burak's user avatar
  • 21
0 votes
0 answers
242 views

Swagger API endpoint with Next.js application

I have created post API in swagger endpoint, the purpose of this post request to send email notification when user submit request, my challenge came when I try to implement swagger endpoint with my ...
ahmed's user avatar
  • 1
0 votes
0 answers
25 views

Generic data contract or specific data contract for an endpoint input on an API?

Is it better to allow one generic class with properties that might not get used by the client, on a single endpoint in an API or specific types of classes with properties specific to the class on ...
user3048613's user avatar
0 votes
2 answers
358 views

Put Route returns CSRF token mismatch Laravel

I am trying to configure a crud api for a blog and right now i made the PostController like this: <?php namespace App\Http\Controllers; use App\Models\Post; use App\Http\Requests\StorePostRequest;...
Dancro's user avatar
  • 3
1 vote
1 answer
910 views

Dynamic Route Resolution with Rust's Axum Framework

I'm currently implementing a web service from scratch using the Axum framework. The goal of this service is to access and read/write files or directories on a target directory. Want I want to achieve ...
Xershy's user avatar
  • 327
1 vote
1 answer
157 views

Alpaca Trade API: endpoint not found?

I am trying to use the alpaca_trade_api to get some historical data. But when I do so I get the following error: alpaca_trade_api.rest.APIError: endpoint not found The code is: import ...
Joseph38's user avatar
0 votes
2 answers
123 views

Assertions not satisfied while mocking a route's endpoins, which end up calling the real ones

I have defined the following route: from(direct(Routes.SEND_EMAIL_BOP_SINGLE_PER_USER)) .routeId(Routes.SEND_EMAIL_BOP_SINGLE_PER_USER) // Split the usernames on an individual exchange each. ...
MikelAlejoBR's user avatar
0 votes
0 answers
83 views

Exclude endpoints by creating dynamic jars in a spring boot project

I have a multi module spring boot project. Each module has its own controller with N endpoints. I would like to be able to create jar with different endpoints based on the profile used during the ...
Lako12's user avatar
  • 304
0 votes
0 answers
18 views

Updating a post using Patch

How do I use the Patch method to update a Post using a token. I made the post now I have to update it. I have the API endpoint already in index.js. I see that the post I am doing is added however, I ...
Marsha's user avatar
  • 1
0 votes
2 answers
149 views

Azure Batch Endpoint job ends with TypeError: the JSON object must be str, bytes or bytearray, not MiniBatch

I'm trying to run an Azure ML Batch endpoint job, but the job always ends with an error because of the input (see below). I used a model created and trained in the Azure designer as described on the ...
Bartek Pobocha's user avatar
0 votes
0 answers
27 views

Apache Camel: How to read files in sorted format based on modified time(files are dumped in milliseconds delay)

I am using EIH 4.1 version and have written below EndPoint in my route to process the files dumped with milliseconds delay but it is failing when the files are being dumped in 100 ms delay. I have ...
Priyanka Chitlur's user avatar
0 votes
2 answers
75 views

Nodejs endpoint to get all users registered in Ejabberd server

I want to create a nodejs endpoint to get list of all users that are registered in the ejabberd server. Create a nodejs endpoint that list all users in the ejjaberd. please help me to provide a right ...
Anurag Singh's user avatar
0 votes
1 answer
676 views

werkzeug.routing.exceptions.BuildError: Could not build url for endpoint python flask

I'm trying to create login page and register page for personal project in Python / Flask but I am facing this error in vscode terminal, when I try to access Register endpoint: "werkzeug.routing....
Rithik's user avatar
  • 1
0 votes
0 answers
228 views

How to share a public key on a Flask endpoint in Python for client-side encryption?

I'm developing a server using Flask in Python, and I need to share a public key with clients so they can encrypt data before sending it to the server. I've implemented an endpoint using Flask that ...
seraf's user avatar
  • 1
0 votes
0 answers
11 views

Why can't I use FLASK "render_template" when there is a variable specified in my route?

I am trying to set up an email confirmation system for new users on a small site. When I attempt to use a variable in my @app.route() I get the error "werkzeug.routing.exceptions.BuildError: ...
scott lewis's user avatar
0 votes
1 answer
373 views

How to create a dynamic device group in Microsoft Intune for devices that have checked in within the last week?

I'm a newbie in Microsoft Intune and I'm trying to create a dynamic device group for devices that have checked in within the last week. I'm using "lastSyncDateTime" when I configure Dynamic ...
Daenerys Targaryen's user avatar
-1 votes
1 answer
533 views

How to seperate front end from backend with the same URL for express?

I am currently running a express backend and angular front end. Whenever my front end makes a GET call using the service file, it hits the front end endpoint that serves front end files as opposed to ...
David's user avatar
  • 39
3 votes
0 answers
507 views

Cold start of AWS Sagemaker Endpoints

for my application I am using an AWS Sagemaker Async Endpoint, Lambda functions and an API Gateway. As the traffic is very sporadic I am using autoscaling, where I scale up the endpoint instance from ...
Anna's user avatar
  • 31
1 vote
1 answer
116 views

Load different services is Startup.cs ConfigureServices based on Endpoint or URL Path

I am trying to load different services depending on the endpoints I am using or the URL path whichever is easier. Example: if the URL/Endpoint is ...Foo/Bar/ -- load the first set of services if the ...
Ken Newman's user avatar
0 votes
1 answer
215 views

HTTP Error from Deploying Endpoint from Model in Azure ML

I'm doing the code from this tutorial: https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-deploy-model?view=azureml-api-2 This should deploy an endpoint from a model I already have ...
Elijah M's user avatar
2 votes
2 answers
214 views

API endpoint for manually launching a job in rancher v 2.6.8

I am trying to find the API endpoints for manually triggering the cronjobs/pods for an application on rancher via a script instead of clicking the "run now" button in the edit config option: ...
what's_in_a_name's user avatar
0 votes
0 answers
54 views

Syslog-ng how to escape all data inside ${MESSAGE}, i need to send it to http endpoint as json

i need to send all received syslog message as an json payload. syslog entry it self contains double quotes and other special chars, that ruins my json payload, any idea how it can automatically escape ...
porlock's user avatar
-1 votes
2 answers
696 views

Error accessing Twitter API endpoint: Limited access to v1.1 and v2 endpoints

I'm trying to retrieve tweets containing a specific hashtag using the twit library in JavaScript. However, I'm encountering an error related to limited access to certain Twitter API endpoints. The ...
Akcrazytech 1's user avatar
-1 votes
1 answer
1k views

I can't change binance endpoint version using ccxt

I am running a bot using CCXT library to operate with Binance Futures API. It was working like a charm so far. However, now I'm getting the following error: binance {"code":-5000,"msg&...
Pablo A's user avatar
  • 16
0 votes
0 answers
99 views

Prisma, MongoDB many to many relation delete request

I have this many to many relation for my two collections: model Product { id String @id @default(auto()) @map("_id") @db.ObjectId categories Category[] @relation(fields: [...
Jakub Vaňo's user avatar
0 votes
0 answers
24 views

Trying to "revive" Snip Insights - API call fails

This is my first entry so please have mercy. I am currently trying to use the old but still (somewhat) working "SnipInsights" (https://www.microsoft.com/en-us/ai/ai-lab-snip-insights and ...
Robin Dieker's user avatar
1 vote
0 answers
37 views

Woocommerce allow access only products

I have enabled REST API so 3RD party can read store products. But by giving API Access they can also access all other information for example Customer details, orders, reports and so on. I wrote the ...
sevoug's user avatar
  • 169
1 vote
1 answer
175 views

In Apache Struts, how can I redirect to an external URL without writing an Action class?

In my Struts application, I need to create an endpoint (URL) which simply tells the user's browser to redirect to an external URL. It looks like this can be done by creating a new Action class and ...
workerjoe's user avatar
  • 2,513
0 votes
1 answer
59 views

WSO2 API Manager Version 4.2.0 endpoints directory not found

We have migrated from API Manager 3.2 to 4.2. Now, I cannot find the directory "repository\deployment\server\synapse-configs\default\endpoints" where I would expect the API endpoint ...
Edmund's user avatar
  • 71
0 votes
0 answers
67 views

Read payload from redirected URL in vueJs

I need to read the form data in payload of redirected URL which has content type application/x-www-form-urlencoded. I am not sure how I can do this in vuejs. My url is http://nw.localhost:3032/home/...
Sumit Kamboj's user avatar
1 vote
1 answer
130 views

Sagemaker -managed containers - script mode

Newbie at Sagemaker. I am trying my hand at the SKLearn managed container and bringing in my own code in script mode. I train my model as follows sklearn=SKLearn( entry_point='skl_iris.py', ...
TheodorosNikoleris's user avatar
0 votes
0 answers
17 views

Create a copy of the default Kubernetes Endpoint

I want to create a copy of the Default Kubernetes Endpoint associated with the default Kubernetes SVC. I also want to have the same list of subsets.addresses as the default Endpoint. In order to ...
Kristian Zhelyazkov's user avatar
2 votes
3 answers
2k views

Requesting sagemaker endpoints gives "Need to pass custom_attributes='accept_eula=true' as part of header" error

I am trying to test https://aws.amazon.com/blogs/machine-learning/llama-2-foundation-models-from-meta-are-now-available-in-amazon-sagemaker-jumpstart/ llama2 model on sagemaker studio. I am able to ...
user2129623's user avatar
  • 2,217
0 votes
0 answers
75 views

There was no endpoint listening at <SERVICE URL>

There was no endpoint listening at that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. The App config is ...
Raja's user avatar
  • 129
0 votes
1 answer
148 views

Prisma, MongoDB many to many relation create request

I am trying to make a create request for gallery that has many to many relation with gallery_category. I was not able to create it in such way that gallery_category would update it's galleries array ...
Jakub Vaňo's user avatar
-1 votes
2 answers
188 views

Publish custom endpoint address in ASP.NET Core minimal API

I have 6 API methods as you can see: app.MapGet("/api/customer-money/", ([FromServices] IMediator mediator, string customerIsin) => mediator.Send(new GetMoneyQuery(customerIsin))); ...
Ehsan Akbar's user avatar
  • 7,123
1 vote
0 answers
52 views

How do I change this API Endpoint to check for overlapping meetings?

I am currently working on an API endpoint for my application that needs to find the earliest common available time slot for a group of selected people. The API endpoint receives a list of person IDs ...
Michał Owsiejew's user avatar

1 2
3
4 5
48