2,314 questions
2
votes
0
answers
82
views
Join API endpoints and write out result
I would like to join endpoints and return result (in Wordpress). After I get the results, I want to import with WP All Import plugin, Hotels and Locations. I'm using Traveler theme.
The API is: https:/...
0
votes
1
answer
78
views
Qt QNetworkAccessManager post() causes stack overflow when calling login endpoint
I’m working on a Qt6 C++ app with a simple QHttpServer and a client (ApiClient). I keep getting a stack overflow whenever I call do_login.
The crash happens as soon as it hits the post() line.
If the ...
1
vote
0
answers
69
views
Not able to refresh JWT API key using refresh token
I am trying to access Deltek's ComputerEase API, I have the API key ID, API key & Refresh Token. Using the following code I was able to get authorization:
import requests
url = "https://api....
4
votes
1
answer
79
views
Add prefix to all URLs while using Blueprint
I am trying to prefix all endpoints with /api/, but I am getting 404 in return if not providing directly in the URL or while registering blueprint.
main.py
from init import app
from modules.User ...
-2
votes
2
answers
294
views
API Endpoint with Request Body
I have set up a new API endpoint (shown below) that expects a JObject in the request body. I am working towards a more complex example, but currently am attempting this with a simple boolean object.
...
0
votes
2
answers
77
views
How should I call two endpoints when one depends on the other one?
I am currently learning web dev and I've come into this issue that it's probably a really common thing to do but I'm not really sure how to handle. I'm doing a process where I have to call two ...
1
vote
0
answers
56
views
ASP.NET Core 9.0 Aspire change endpoints
I've created a standard ASP.NET Core 9 Aspire application with all projects.
All work fine till I use localhost as endpoint for my web app, but obviously, I want to change to local lan IP (192.168.0.2 ...
0
votes
1
answer
93
views
file_get_contents always empty
I have made my own API endpoint, but for some reason when I call this endpoint with postman, the file_get contents is always empty...
if(isset($_GET['type']) AND $_GET['type'] == "new")
{
...
0
votes
0
answers
43
views
"Getting 401 Unauthorized when calling Paytrail API with HMAC authentication – How to troubleshoot?"
import hmac
import hashlib
import json
import requests
import uuid
from datetime import datetime, timedelta
from typing import Optional
from .base import BasePaymentProvider
class ...
0
votes
0
answers
30
views
Which approach makes more sense for validating survey completeness?
I’d like to get input on two possible approaches for handling validation of a survey before generating a document based on it.
Users can fill in a survey gradually, over multiple days. We have an ...
0
votes
0
answers
25
views
Google Cloud using Private Services Connect as a Service Directory for EKM via VPC. Unable to complete EKM Connection
I am using Google PSC to route from a PSC Consumer VPC to a PSC Producer VPC. The Producer VPC contains a key manager for use by Google Cloud EKM via VPC. I am able to get ubuntu hosts in the ...
-2
votes
1
answer
852
views
How to create prompt with /chat endpoint for llama.cpp? [closed]
I just installed raw llama.cpp to run codellama-7b-instruct.Q5_K_M.gguf. I started it on llama's server but unfortunatly it is responding with really weird answers, which looks like it is trying to ...
0
votes
1
answer
131
views
Is jmt17.google.com web push server send another error when expired?
I my web push server I try send message to endpoint start with "jmt17.google.com" and I got error 404
A valid push subscription endpoint should be specified in the URL as such: https://fcm....
0
votes
0
answers
82
views
How to make working Instagram API EndPoint with user photos?
I am using 2 EndPoints to get photos from Instagram (request with valid authorized COOKIE).
The first one (to get photos by hashtag):
//hashtag
https://www.instagram.com/graphql/query/?query_hash=...
0
votes
0
answers
43
views
Possibility to enable multi model endpoint with DeepAR on SageMaker
I am working with SageMaker and have a deployed separate real-time endpoints and models for DEV and PROD.
To save costs, I am trying to put both models behind the same endpoint.
While this worked for ...
0
votes
0
answers
176
views
Deployment fail when provisioning endpoint in Azure AI Machine Learning Studio
While deploying an AI model with Azure AI, my deployment fails while provisioning the endpoint with the following error:
{
"status": "Failed",
"error": {
"code":...
0
votes
1
answer
49
views
How to find user_id in Django endpoint
I have this Django endpoint:
def get(http_request: HttpRequest, id: str):
book_account_id = UUID(id)
user_id: UUID = http_request.user.id
affiliated_price_subscriptions = ...
0
votes
0
answers
28
views
NextJs fetch API problem and lang parameter with i18n
I have created a not very dynamic site with the latest version of nextjs. So the folder structure is app/(home)/page.tsx and app/(home)/page.tsx. What is my problem? I want to fetch the endpoint in a ...
0
votes
0
answers
97
views
What is the payload sent by Microsoft Entra ID to the redirect URI?
In the Microsoft documentation over here it is said that:
Register the app with Microsoft Entra ID.
For more information, see Register an application with the Microsoft identity platform. Save the ...
1
vote
1
answer
55
views
How to establish Docker Connection to Localhost Development Server
I'm trying to connect a Mage.ai pipeline to an endpoint of my development server (a microservice of my app). However, I barely have any knowledge on the topic and it's getting rough.
My app uses Vue ...
0
votes
0
answers
47
views
Setup sandbox server URL for Google Subscription notitifcations
It is possible to setup sandbox server URL for Google for in-app purchases, just as you can setup in sandbox server URL in appstore connect for Apple? I have my subscription setup in Pub/Sub. It is ...
0
votes
0
answers
45
views
URL Encoding Issue with Deploy API
This is my API: *******/api/3-1-app-313a04d4-e556-4dc7-b90a-1a1d0b347368/deploy. It returns two statuses: 202 on the first attempt and 303 on the second.
The first attempt works fine, and I receive a ...
1
vote
1
answer
56
views
How to import JSON file (from Swagger) to Karate Labs?
currently we have API endpoint information from Swagger / Swashbuckle.
Is it possible to import Swagger JSON file into Karate Labs for automating endpoints?
Thank you in advance!
I did some research ...
1
vote
0
answers
54
views
API Endpoint - Calling path/file.php works but doesn't by endpoint
I made a simple API with PHP
When I call it (Postman or script) with https://www.example.org/api/index_api.php it works. I get the return value.
When I call it (Postman or script) with https://www....
0
votes
1
answer
76
views
API endpoint not working for POST request
We have developed an API endpoint and it is not working on the production site, this endpoint works perfectly on local host or even using tools like NGROK with GET and POST request.
We have already ...
0
votes
0
answers
83
views
Azure workbook custom endpoint stopped working
We use an azure workbook with a custom endpoint query in it.
Suddenly the query stopped working with the following error:
We could not connect to the server, make sure CORS is enabled.
Tried ...
0
votes
1
answer
795
views
How to Add Comments to SharePoint List Items Using Power Automate?
Problem Statement:
I am trying to add comments to a SharePoint list item using Power Automate. For this, I used the "Send an HTTP request to SharePoint" action. However, my flow fails with ...
0
votes
1
answer
345
views
Query a specific model deployment in an endpoint inside Azure Machine Learning
I'm working in Python. I already successfully deployed two model deployments in an Azure Machine Learning real-time endpoint, with a 50-50 traffic split.
Using the Python SDK, I know that to call a ...
1
vote
0
answers
484
views
WebSocket closed with code 4001: Not authorized when connecting to AssemblyAI real-time transcription API
I'm working on integrating AssemblyAI's real-time transcription API with WebSocket in Python, using the websockets library. However, when I attempt to connect to the WebSocket endpoint, I get the ...
0
votes
0
answers
74
views
OSCAR EMR API: Issues with AppointmentHistory Endpoint (REST and SOAP)
I’m working on integrating with OSCAR EMR, an open-source electronic medical record (EMR) system. My goal is to fetch appointment data (ideally for a specific patient) to validate and manage bookings ...
1
vote
1
answer
165
views
Get value of header in WSO2 Micro Integrator endpoint response
We have an HTTP endpoint of WSO2 Micro Integrator. This mediator points to an REST API that returns a 201 message with a validation token (it is a login sequence). The token is not included in the ...
0
votes
0
answers
82
views
Numpy dependency error when using sklearn-1.5:10 environment to deploy Azure ML model
I'm using the sklearn-1.5(version 10) environment to deploy a ML model which uses sklearn.ensemble._forest.RandomForestClassifier. When deploying the endpoint I keep running into dependency issues ...
0
votes
1
answer
139
views
Set endpoint as environment variable in Azure Container Instance
Is there a way to set the endpoint of the container instance as an environment variable?
I've looked everywhere, but haven't found any tutorials nor posts about it. I'm guessing it has to launch ...
0
votes
2
answers
78
views
Sending post though Powershell curl
For some reason when request is sent through Swagger it goes through without any issues
But when I try to do the same thing with powershell I get 400
curl -Method Post -Uri "http://localhost:...
0
votes
1
answer
237
views
I am having forbidden error (Error 403) when calling Azure AutoML endpoint from Flask
I'm working on a Flask application that utilizes an Azure AutoML model to make predictions based on user input. I've set up the necessary code and endpoints but am encountering a specific error when ...
2
votes
0
answers
290
views
Why do my Admin controllers trigger OnRemoteFailure in ConfigureOpenIdConnectOptions when using custom authentication policies?
I am configuring authentication and authorization in an ASP.NET Core application using both OpenIdConnect and Microsoft Identity. The goal is to make the frontend controllers for my site use the ...
0
votes
1
answer
155
views
How to use predict_proba with AzureML batch endpoint within invoke method, whilst using URI folder URL as the data?
I have a AutoML generated binary classification model deployed to a batch endpoint. I can successfully invoke the model using the below code to output a file that contains a binary prediction (1|0).
# ...
0
votes
0
answers
82
views
Riverpod: Integrating a Single Endpoint Across Multiple Stepper Screens in Flutter + Riverpod
Question:
I'm building a Flutter application with a stepper wizard, consisting of 4-5 separate screens (each in its own file). Each screen contains various form fields (text fields, dropdowns, date ...
0
votes
1
answer
128
views
How to tell whether an Endpoint is an ApiController?
Does an Endpoint obtained from an EndpointDataSource contain any information that identifies the route as an ApiController?
XY: I want an IMiddleware to require a cookie for all requests except API ...
0
votes
1
answer
57
views
How to manage Redis Sentinel failovers without code changes?
How to configure Redis Sentinel for hundreds of microservices on different languages without rewriting code?
We have an infrastructure with hundreds of microservices written in various languages (Go, ...
1
vote
0
answers
55
views
How to extract URL from HTML response in Android?
I have @GET endpoint in response to which I receive an html code with URLs. I need to reach the URL that comes after 200 code. Do you have any idea how to do it in Android?
I already tried to use the ...
0
votes
1
answer
572
views
redirect to different url after order received or/ Redirect to custom Thankyou page after WooCommerce orders paid
After successful payment through Razorpay payment gateway, I need to redirect to my custom created Thankyou page, instead of Razorpay payment gateway plugin default redirect URL.
My problem ...
0
votes
2
answers
220
views
Calling Vertex AI Endpoint for Swift (IOS application)
I have created a tuned model in Vertex AI and deployed it into an endpoint. I would like to use the tuned model in my Swift IOS application, but I don't know how.
Are there any ways to call it using ...
2
votes
1
answer
141
views
Why do we use a hyphen as a directory in URLs?
I've seen it used in multiple places, the latest include GitLab's URL structure and some software I work on at my company.
It goes like this:
https://some.gitlab.com/group/project/-/tree/main
or for ...
0
votes
1
answer
118
views
How to proceed with NextJS to fix endpoint undefined?
First approach to Next with Appwrite database. The project is hosted on Cloud and according to the documentation the endpoint is https://cloud.appwrite.io/v1 by default.
I created an .env.local file ...
0
votes
0
answers
84
views
GCP endpoint - authentication
I am trying to setup GCP endpoints which is internally target to K8s ingress service.
My openapi.yaml
swagger: "2.0"
info:
description: "A simple Google Cloud Endpoints API example.&...
0
votes
1
answer
271
views
With Boto3, how can I query the Redshift endpoint?
I found the following documentation about this: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/redshift/client/describe_endpoint_access.html
In theory there should be a ...
2
votes
2
answers
177
views
Jena-Fuseki: Endpoint returned Content-Type: text/html which is not recognized for SELECT queries
I'm trying to make this SPARQL query using Jena-Fuseki Version 5.1.0 (SPARQL Endpoint: /ds/sparql | Content type (SELECT): JSON | Content type (GRAPH): Turtle), but gives me an error.
code
PREFIX ...
0
votes
1
answer
440
views
Received server error (500) while deploying HuggingFace model on Sgaemaker
I've successfully fine tuned a sentence-transformers model all-MiniLM-L12-v2 on our data in SageMaker Studio and the model was saved in S3 as a model.tar.gaz.
I want to deploy this model for inference ...
1
vote
0
answers
313
views
Directus all API endpoints are returning 404 error
I have uploaded my directus code into the ssh server.
But none of my APIs endpoint whether POST or GET is working, all returning 404 errors.
However I can see all content, all items, can login etc.
I ...