Category "api"

Cancel all Previous Api call in Android - Retrofit - Using module

I have created below module in my android application. val appNetworkModule = module { // Dependency: OkHttpClient single { var okHttpClient=OkHttpClient.Bu

Request for oauth_token for Twitter shows "Sorry this page doesn't exist" error

I am sending an API request to get my oauth_token through postman. This is my request: https://api.twitter.com/oauth/request_token?oauth_callback=oob where the

Google Apps Script basic authentication

I'm an absolute beginner when it comes to programming. I've been trying to import data table from "http://www.rotowire.com/daily/nba/value-report.htm" into goog

Libav API: Filtering + Transconding

I need to process a list of several audio files (MP3 and WAV) and mix them to generate an audio stream (AAC codec / fltp) to be included into an mp4 file (using

How to send jsonfile in api Request

I am facing an issue while sending the json file in request for RestController, Please check the details below I have a json file , let say test.json { "Pol

Convert string to lowercase AND then convert it to its original form in PHP, is it possible?

I need to convert input data to lower and then return it in it's original form with PHP, is it impossible or does anyone have a solution? thank you. ps, i'm

OVH Api specific task sequence

Is it possible somehow to know the sequence to perform a specific task? For instance, domain registration. API commands documented here: https://api.ovh.com/con

Dialogflow using external API with Axios

To study, I'm trying to make a bot that, in response to a request, will send an image. Used waifu pics api (https://waifu.pics/docs) just pictures. It sends the

Pictures with Camera2 API are really dark

I'm working on Android and I'm trying to capture a picture without displaying any preview. I tried to simplify the process by making a class. It's working but a

Java - Hashing with HmacSHA384 and encoding with HexDigest

I'm trying to replicate the same signature outcome as the Python code in Java. Python Code Example: secret = "1234abcd".encode() encoded_payload = json.dumps(pa

Binance error - Too much request weight used; current limit is 1200 request weight per 1 MINUTE

exchange.load_markets() while 1: try: bars = exchange.fetch_ohlcv(ETH/USDT, timeframe='5m', limit=5)

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