Category "api"

AWS custom domain mapping with uri parameters

I’m using a serverless micro services architecture and have multiple REST API GWs. All APIs are mapped using Custom Domain to a base URL. For example: API

How do I use django rest framework to send a file in response?

I need to send a pdf file and some other parameters in response to a get API call using django rest framework. How can I do it? I tried this but it gives an er

Secure Node API for React Front End

I’m building a React application with a Node backend. In the backend I have an API that just talks to a database and I can deploy the API and the React ap

WEB API Google Authentication access denied

I am trying to use google authentication API to have a google log-in on my web API project. Created the OAuth and I enabled the Google+ API added the Clie

How to insert API response into HTML

I used pure function to create wrapper for multiple HTML elements and don't understand how to insert JSON response API data into it. Can you help to create one

how to send variable along with the redirection in nodejs?

#Following in my code for redirect along with variable in nodejs app.post("/newcall", function(req, res) { var f = (req.body.try); console.log("val"+ f) r

How to deal with model changes in Django Rest Framework?

This is not a question for a particular use case, but for something I noticed in my experience doing APIs, specifically with using Django and Django Rest Framew

TikTok Login Kit: Illegal redirect link

I am having a look at the new TikTok Login Kit for Web and am stuck on the redirect step. Similarly to all oAuth-based services out there, when you register you

How Import image google places API or wikipedia to CSV -Python

How to add additional fields to the following python script: Image: e.g. http: // ... or a file - from wikipedia or google places Phone number:** from google p

dremio list user API

I'm trying to query dremio using the documented API to get list of users. Dremio version: Build 20.2.2-202203241726030461-f7eea3e0 Edition Enterprise Edition A

Android DualSim, ways/task/api to turn off second sim every day at same hour [closed]

Im using my phone for personal/work lines using dualsim (right now Xiaomi Mi5) with Android 7. Im looking for a way to use my work line (2nd s

Twinfield API: how to get accesstoken using postman?

I'm trying to connect to the Twinfield API. I have registered an app in the developer portal, and created a callback URI. My call looks as follows: https://logi

Invalid characters while converting API response to PDF

I used the following syntax for my GET request var response = await http.get(Uri.parse(url), headers: { "Content-Type": "application/pdf", 'Authorizatio

XERO API Develop show me the cross-origin when Request TenantId visa ajax request

Since I develop the api of the xero, when I get then token is right[https://identity.xero.com/connect/token], but then i request tenantId[https://api.xero.com/c

React - How to implement isLogin() function?

I am working on implementing authentication in React. I have followed the guide https://medium.com/@thanhbinh.tran93/private-route-public-route-and-restricted-r

Handling Deadlocks via, RESTFUL API?

Goal is to improve code. The ASP.NET MVC client Application makes the HTTP request to the service Layer. This is a C# REST API, where we are transferring larg

Rocket League API Not giving data

I've been trying to use the Rocket League API from the trackerhttps://api.tracker.gg/api/v2/rocket-league/standard/profile/(platform)/(name) When i use the link

Flutter login page authentication using mysql

I am trying to connect my login page so that it fetches data from my users table in mysql and logs the user in but I am having some problems with my code Futu

Graphql and round trips. Is this just an ios app issue?

I'm taking another look at graphql, and I'm trying to understand why saving round trips is a benefit to developers. Is the cost of making a request so expensive

how to hide nextjs api routes from being directly accessible through url?

Is there any way to make next.js API routes response data hidden when accessing it through URL? I want to hide the routes because there is some data I don't wan