All Questions
11,411
questions
2
votes
0
answers
37
views
Is there a way to have a user enter a url query and have a single function filter a database?
I'm playing with the Django rest framework and PostgreSQL, building an API that returns data on all of the stats from this NBA season. Rather than having a function to return stats for each category, ...
-1
votes
1
answer
125
views
How to hide WooCommerce API Key in php files?
I'm creating a WooCommerce & Vue 3 projects and I need to hide my api key when i'm calling it. Do you know how can I do it ?
At the begining, on vue3, i've put it in headers of my request and all ...
1
vote
0
answers
21
views
404 on RESTful service created with Spring Boot
I just deployed a RESTFul Spring Boot/maven service to Tomcat 10.1.9 running on a Amazon EC2 Linux instance, but it returns a 404.
It does however work when I launch it from Eclipse and connect via ...
0
votes
0
answers
68
views
i'm on vb6, i need to set a get with https://oauth.openapi.it/counters/total
I use for all my get rest API this code in vb6:
Option Explicit
Private Sub RestExample()
Dim APICall As String
Dim myXML As New MSXML2.DOMDocument60
APICall = "http://www....
0
votes
3
answers
345
views
Why doesn't el.scrollIntoView() scroll to the specified element?
There is a list of posts that is generated as follows:
async function getPosts() {
let res = await fetch('./api/posts');
let posts = await res.json();
const postList = document.querySelector('....
1
vote
2
answers
76
views
axios API not receiving data from express js nodejs
client
const {data} = await axios.create({baseURL:`http://127.0.0.1:5000/api`}).post("/seller/login",{
sellerMobile,
sellerEmail,
password
},...
0
votes
0
answers
389
views
Pydantic class looks immutable (serialization and update with Json string for restAPI communication)
I am looking to add serializing-deserializing methods to a Pydantic class to communicate class attributes to a restAPI or update object with API response.
I arrived up to this point, program don't ...
0
votes
0
answers
258
views
How to use oauth2 to get a token in VB?
i work with VB.net in my job and we have a API to comunicate with a marketplace. But 1 week ago, they changed authentication mode (Basic to oAuth2). I don't have experience creating API rest, and can'...
0
votes
0
answers
964
views
WooCommerce API Rest - 403 Error OAuth 1.0 HTTP
I'm coming to you today because i'm blocked on 403 error since 3 days. I've got a Woocommerce Website on my localhost and I can not connect my POSTMAN agent to test the Rest Api.
I've saved my ...
0
votes
1
answer
229
views
Checked null value of dateTime in REST API SharePoint
I need to check null values of DateTime field in REST API SharePoint. In the documentation I found "Date eq null", but I got the error: "One of the provided arguments is not acceptable&...
0
votes
1
answer
88
views
Designing REST API for resources with one to one relationship
Imagine Tinder-like aplication. A user registers an Account with email and password, and later on he creates a Profile which can match with other Profiles. There would be one-to-one relationship ...
1
vote
1
answer
179
views
How to use import Geopackage data to my Django RESTful API?
I want to create a full-stack web application to let users query parks and greenspace in the UK, something like this: https://www.barnet.gov.uk/directories/parks.
I want to build a Django RESTful API ...
2
votes
0
answers
53
views
Excluding a field from Serializer output in a Django REST API
I'm a newbie in Django, learning now.
So i need help with Serializers.
What i received when creating user by POST request:
{
"email": "[email protected]",
&...
0
votes
1
answer
33
views
Eventstore HTTP API, Subscription response with unexpected content type
i am using the eventstore http api to get events from an persistent subscription. It works, but the response give me an xml structure instead of json. Can anyone tell me what's wrong with my request?
&...
0
votes
1
answer
53
views
How can I insert an array of user ids into a Laravel 9.0 events table for use in a Flutter API?
Laravel 9.0 inserting an array of values into another table
I am trying to create a public event from events table and that event has many users associated with it from the users table.
How can I save ...