2,315 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
69
views
Being redirect to project base home after .htaccess change
I ́m facing an issue with my public/.htaccess file after making a change and the reverting it.
The change RewriteRule .*\.php.* / [R=301,L] to redirect malicious requests, /cmd.php and after that ...
1
vote
2
answers
81
views
Inline declare of delegate won't match like the dedicated delegate [duplicate]
The following is an example of me specifying an endpoint as I usually do, but I recognized a situation that I can't explain myself.
In the first example, I specify the delegate abcDelegate and use it ...
0
votes
0
answers
16
views
How to replace MlFlow model
I have an MLflow model deployed in SageMaker, but when I try to update it I get this error:
MlflowException: You are attempting to deploy an application with name: titanic-xgboost-endpoint in 'create' ...
2
votes
0
answers
90
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
81
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
73
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
83
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
342
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
81
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
70
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
103
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
46
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
37
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
26
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
1k
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 ...