Category "api"

Is there another way to view a PDF file from dotnet core API with react

I have dotnet core API thats returning a downloadable and i want my react to view as a blob but the pdf that is getting rendered is blank Dotnet core code

Javascript exiting normal execution order

So I will attach my simplified code. So when the page load the debugger follow the expected row order: 27->9->10 When I click on topNewsButton, the execut

Save multiple objects serializers only if both of them are valid

I have multiple serializers objects that comes from the request as json file. I want to store them inside databases only if they are Valid (all of them must be

Python QuickBooks API

I have a problem working with python-quickbooks package, I try to follow the docs: https://pypi.org/project/python-quickbooks/ Here is my code: from django.co

Snapchat API error: Something Went Wrong Invalid redirect_uri

I'm getting this snapchat error after trying to setup the api. It allows the user to login and then tells them of this issue. I have tried multiple redirect uri

how to pull certain data from a list response from instagrapi

so I'm working on some code to pull the pictures of people who have liked a post on instagram. i'm using instagrapi for the api system, but when using api.media

How to send List of objects in a multipart request in flutter?

I want to send a List of ManageTagModel in a multipart request along with other models and files.. I am not certain of how to send this List of model.. This i

What are the advantages of API contracts being consumer driven vs provider driven?

I often read about establishing API contracts, but I'm not sure why it's usually recommended to be consumer driven? Can someone explain what are the advantages/

Coinbase API BTC account missing

thanks for coming to my aid. In the course of using the coinbase API, when I callclient.getAccounts({}, function(error, accounts){console.log('accounts', accoun

Basler Pylon camera API

In the c++ documentation for the pylon API, they use a loop to display the grabbed images. This code works fine: //Basler-Pylon example main() { CInstan

Output to CGI using Python?? Error keeps telling me missing parenthesis?

Attempting to generate using python to screen using cgi. However, when I run it from the command line, I keep getting an error stating that it is missing parent

JS: How to manage a POST request queue

I've created an API that allows you to make a POST request that doesn't return an immediate result to the client and needs to be processed. I would like to allo

C# Couldn't process file xxx.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file

I have an issue while I try to build project in VS2012. It cannot build due to the error: Couldn't process file xxx.resx due to its being in the Internet or Res

How to get more than 10 search results from the IMDB API?

I am trying to suggest movies to an user who has entered a movie genre, e.g. "horror", "sci-fi", etc. For this, I have written a function that makes an API call

Getting Tableu Usage Statistics by time frame

I've been trying to get tableau usage statistics for the last 3 months. When running this get request on postman Server/api/api-version/sites/site-id/workbooks/

I'm using and api and it's showing me object Object instead of the variable

as i said in the title, i'm using an api, here is the html <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf

how to create a new user with postman and assign group in keycloak?

I have this JSON to create a new user, which works for me, but it doesn't assign the group declared in the groups "groups":["APIs"] tab to the user json: {

Binance API proper way to open a futures trade?

I am currently in the midst of writing myself a little python bot for binance using their API and I find the documentation rather lackluster and wondered whethe

jwt decode throws Invalid argument supplied for foreach() on php-jwt and codeignitor 4

I have encoded a token with JWT::encode($payload, $key, 'HS256'); When I am trying to decode it with the same key, it throws an error. Here is the code: <?p

REST: handling nested resources and paths

I have three resources, owner, dog, and puppy and I am designing the REST endpoints for the puppy. I already know who the owner is with every request via JWT a