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.
96,638
questions
0
votes
1
answer
276
views
Configure IIS to accept API calls only from API Manager, Deny from direct calls
I have an API hosted in Azure VM on IIS.
I have exposed that End point to public through Azure API Manager.
Currently the server end point can be called directly bypassing the Azure API Manager.
I ...
1
vote
0
answers
626
views
Problems with API return using the Axios library in NextJS
I have a problem and I can't solve it in time. Who knows, maybe someone can help me.
I'm testing an application made in DJango Rest Framework (back-end) and NextJS (front-end). The problem I will ...
0
votes
1
answer
131
views
How to query by Iteration in pyral?
My goal is to pull user stories from previous iterations that have not been Validated. To do this I am using pyral-1.5.2:
user_stories = rally.get('UserStory', project='My Project', fetch=True, query=(...
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, ...
0
votes
1
answer
73
views
Cant get value in Vue from data
I am pulling data via an API and it appears in my vue console but when i try and pull it into my markup nothing displays?
clicks:"27,577"
earnings_per_click:"257.11"
orders:"...
0
votes
1
answer
1k
views
Read stories/posts using instagram API
I wanted to get all the stories for an user using Instagram API. Not the stories posted by the user but by the people he/she is following similar to how i am able views stories after i log in to my ...
0
votes
1
answer
42
views
Filtering With DRF
I'm currently trying to add filter to a menu API but it doesn't seem to work
This is what I tried in my views.py:
@api_view()
def menu_items(request):
if request.method == "GET":
...
0
votes
1
answer
30
views
Javascript Capture Form Values and Send via Api
I have a subscription form on my website. I'am capturing the email address form form and trying to send them via api. When I run the I'm getting the error below:
"Access to fetch at 'https://...
1
vote
0
answers
94
views
Mongoose:Error when send a second request on the server
I'm making an API for my app, the app is in MERN stack, I make a separate Database for every account and its information (every account along with it's info is in a separate DB so each DB for each ...
0
votes
1
answer
45
views
Is there any way to delete a folder in run time if the memory of any file inside the folder is being used
if (Directory.Exists("BarCodePNG"))
{
Directory.Delete("BarCodePNG", true);
}
if (Directory.Exists("BarCodeJPG"))
{
Directory.Delete("BarCodeJPG", true)...
0
votes
1
answer
441
views
How to Update Stripe Subscription with Python API without Accumulating Price Objects
I am using stripe API integration to build a python app, I want to be able to allow an user to upgrade their subscription from their current subscription at any point in time and the new subscription ...
-1
votes
2
answers
1k
views
How do I convert a java object toJSON format without using any external libraries or dependencies for java?
static class DataObject {
private String access;
private String foo;
private Int age;
}
to {"access" : "value","foo":"value","age":&...
0
votes
2
answers
69
views
How do I convert a curl POST to Python requests.post for a US Patent Office API?
I want to use a Python requests.post() to get data from the US Patent & Trademark Office via an API. The details of the API appear here.
That page also contains a widget you can use to try out the ...
0
votes
1
answer
912
views
How to bypass the limit of 100 songs in Spotify API?
i have a code that creates a dataframe of the songs from a playlist.
I tried to change it so it will ignore the 100 limit and i will recieve all the songs from the playlist, but it doesnt work.. can ...