Questions tagged [api]

DO NOT USE. Use specific tags like [google-cloud-platform], [facebook], [amazon-web-services] instead or [api-design] where applicable. Questions asking to recommend or find an API are off-topic.

0
votes
0answers
4 views

Confused with python syntax involving API

Confused on python syntax as I am just learning it (coming from c++). Using bybit.com API. I am trying to execute two commands: 1. print(session.get_wallet_balance(coin="USDT")) 2. print(...
0
votes
0answers
3 views

How to send private dm message with instagram api

I'm looking for a way to send private messages on instagram with node js. I need to send a code to users who subscribe to my app and check with an alphanumeric code if what they enter is their real ...
0
votes
0answers
7 views

Is it possible to send a json object in a res.redirect in express?

Any way I can pass a user object in the res.redirect? res.redirect("/"); I added authentication later in my code and after successful signin, I am now redirecting to the home route. What ...
0
votes
0answers
3 views

Display Phone Number Google Places API

would like to ask about how to display phone numbers of hospitals near me using the Google Places API. The link to my JSFiddle file is https://jsfiddle.net/saisheinhtet/tbaq5hv0/4/ Other StackOverflow ...
0
votes
0answers
3 views

Migrate old subscriptions to stripe

We have an existing saas app where we used to handle payments for subscriptions offline in a manual way. (They pay us directly to our accounts and we update their subscription data in our database ...
0
votes
0answers
18 views

How to POST to Hubspt API from ASP

So I have been working on developing a customer form that will eventually push user data into my hubspot contacts page. I spent a ton of times building it using jQuery and Ajax only to find out that ...
0
votes
1answer
8 views

I Want to remove the video if free_preview: false in nodejs express

if its free_preview is true means, the video data must preview to all and when the free_preview is false means its not might expose the video data. But in this scenario if free_preview is false then ...
0
votes
0answers
8 views

REST API design many-to-many relation

My database has the following entities: School Person Group Career A person can be a pupil or teacher. This is defined by a role type on career. A career also has a school id, a person id, and a ...
0
votes
0answers
3 views

Api onedrive - Check the password of a onedrive shared directory

I have a question about the onedrive api. I have a directory secured by password. Is there a way, via the api, to test the password? For exemple, use the api to connect to the url by submitting the ...
0
votes
1answer
17 views

How to make a post request to add users in chat room in react-chat-engine

I'm creating a chat app with react-chat-engine but I don't know how to make a post request to add users in chat room in react-chat-engine. I have referred this link- how to make a post request to ...
0
votes
0answers
4 views

Save generated data or single data, every seconds from NestJS to MongoDB

I am struggling a situation which is; I have to post(save) data to MongoDB from NestJS method for every 1 - 5 or 10 (The time interval doesn't matter as long as it's seconds.) seconds using Postman. ...
0
votes
0answers
19 views

Unable to figure out the post request parameter

I'm trying to query the following website By choosing the advanced search as below and query that pattern QW=部队 I noticed an XHR request to the following endPoint I think that the query pattern QW=...
-1
votes
0answers
7 views

How would I expose a python function as a REST API that takes a .txt file as input and returns an integer value? [duplicate]

I have a python project that contains a .py file (below) and a .txt file. The .py file parses the .txt file input to return an integer using the build_block function. import numpy as np def load_file(...
0
votes
0answers
6 views

Getting started on a small project to learn coding - what do I need / how do I start?

quick question from a German noob not exactly knowing how to start this small project I want to build and learn webdev on. I want to build the following: frontend input of 2-3 values in a webapp/...
0
votes
1answer
21 views

How to set index of API data

Using ReactJS I am fetching and getting the data below. I want set index number for each data element. How can I do it using React? Thank you for your answer in advance!

15 30 50 per page
1
2 3 4 5
6450