Category "api"

how to Access to the Response body in the retrofit?

I changed the Volley library to Retrofit. Now I want to access the response body like the Volley library. I searched the internet and came up with this solution

DELETE operation javascript fetch() with REST API firebase

I use the following API request in order to delete all texts (so called cps) of one section (one section contains many cps) await fetch(`https://12345-default-r

How to post multiple images to mastodon using api with bash curl

I'm starting to learn to use rest api via bash curl by writing a simple mastodon bot. I can attach multiple images using curl https://example.com/api/v1/statuse

Keycloak - React.js cannot call API

I have a simple React.js application. I want to test if it can call an endpoint from my API. Both my API and React.js application are using Keycloak for Authent

How do I update a record using the put API?

As you can see in the React Js code I am trying the Reduce one by one quantity when clicking the Delivered button. When the Click Delivered button quantity bec

API cs-cart put request by react and axios

I use react in front-end and cs-cart API in back-end. In the following code I used axios.put() as follows: const data = JSON.stringify({ "test1": "val1" });

Generate github personal access token (PAT) by command line or SDK

I am looking for the command or SDK, such as python, to generate new personal access token (PAT) in Github, but I didn't see any API for it. https://docs.github

Merge multiple POST requests based on the same value of each array. (Angular)

These are the two outputs "statusCode": 200, "data": [ { "color": { "id": "1111", "name": null,

How to make SPOT market order on Bybit with ccxt?

I am using ccxt library to work with exchange. Struggling with making market order on Bybit. How it can be fixed? The error i've got is TypeError: Exchange.requ

How can I connect to my REST API with powershell (CYPHERTRUST)

I am searching for how to connect to my rest API with a Powershell script I know that I need a to send my Body with the POST Method but cant define how to do it

How to edit picture on Coudinary with Laravel

Any Idea how to edit pictures on Cloudinary using Laravel API? I did a lot of searches, but I didn't find any references. The add worked successfully, but I did

How do I send request in robot framework for api testing

I am passing username and password in the Post request body but it gives Issue as Client Error: “Not Acceptable for url: https://apiexample.com/demo&rdqu

swift error: Value of type _ has no member _

how do I fix this error? xcodes-13 This Is my code for working with api: struct everything: Codable{ let topic: String let content: String

How can we see the BigBlueButton's meeting's attendees joined date and time from BBB's API web service?

I could not find any answer to my question in the document below. https://docs.bigbluebutton.org/dev/api.html#getmeetinginfo Maybe an experienced developer can

Downloading JSON file in expressjs and reading it

I have a task where I am given a URL such as https://xyz.json. This URL prompts the downloading of the JSON file into the local. I am now required to read the u

Usiing deepspeech package for automatic speech recognition

please i need some help. How can I use deepspeech as an API directly in google colab without using the command prompt : I want to load the pre_trained model,ins

How to call an external API from Google Apps Script

I want to call the Steem API from inside a Google Apps Script function. I want to see the appropriate server response. But I get the following error instead. A

How to find correct "json" parameters on Request POST?

I am new to webscrapping and am trying to access an employee database on a website. To do this, I noticed that when I hit the search field the site sends a requ

node js saving all values as 0 in sql

Im making an API on nodejs with express and mysql. In the POST method i dont get any error but on mysql store al values as 0, like this: 1 0 0.00 0000-00-00 0

type 'List<dynamic>' is not a subtype of type 'List<Parking>'

I'm calling an API but I've been trying to parse this JSON response correctly but I haven't been able to resolve this issue. I call the API, and want to display