Category "rest"

Continuously hitting the GitHub secondary rate limit even after following the best practices?

In my application I am making authenticated requests to the GitHub search API with a token. I am making a request every 2s to stay within the primary rate limit

Powershell - Invoke-RestMethod to get all links

Trying to connect to webpage and return a list of all the file names listed there. I wont include the whole code (to generate token etc), but using the below I

Setting Bearer Token in the header section while testing with Supertest

I'm trying to add the Bearer in the header section in POST request while testing with Supertest. I tried many methods. I'm a beginner in testing. Please suggest

Connection to SSRS API via NTLM : handshake rejected

I try to connect to the SSRS REST API via NTLM and cURL, but the authentication fails. Here is my attempt: λ curl --ntlm -v -u localhost\osain http://loc

Group enrollment in Azure Device Provisoning Service (DPS) not working through REST API: unauthorized 401002

I am trying to support DPS for my ESP32 firmware through HTTPS REST API using SAS. My device registration ID is: xx-xx-8c4b14149ff4 I took the group enrollment

Cancel multiple Retrofit API calls at once

Past few days I am searching for a Retrofit2 feature. Is there any option or way to cancel multiple API calls at once, requested from a client? For example, I h

Find separate REST API Key & MAP SDK Key for Android - mapmyindia API

On the mapmyindia (map my India) API console, under "Credentials" tab of the Default Project, a default (and single) key is present "REST / Map SDK Key". In the

curl: (3) [globbing] nested brace in column 189 when sending PUT request to Google Sheets API

I am trying to write to a Google Spreadsheet using Google Sheet API v4. The usage about the API is listed here I made a curl request that looks like the follo

Download pdf from restful web services

I am writing a rest service which will download the pdf when user access this service on users machine. below is the code of my controller class. When I tried

Bulk POST/PUT API requests using POSTMAN or any other means

I have a list of API requests which are already in URL format. I just need to POST them one after the other automatically and log their results. The only way I

Requesting list of a users microhone and headset & phone devices

The audio, video conferencing devices, microhones headset and other devices which are used for microsoft team calls and conferences, where are thisdata is st

What should the response status code be in a REST API when the given ID is a valid ID but there's no matching document?

I'm using MongoDB for my Express app and I know that when an ID is an invalid ID for the corresponding database, the response status code is 400 (Bad Request).

How to Customise example value of request body and execute it on swagger-ui with springdoc-open-api

I have created rest webservice using springboot and added springdoc-open-api for ducumentation of webservice, Now i have 2 question 1-how to add custom test val

I need to send the request correctly, but I don't know how to get the required values from objects

How to get a new list from the list of objects? I need a new list of objects to POST request this list of objects i get from response: { "success": true, "b

How to return a marshalled JSON that has a nested property?

Fellow programmers from SO! I am building a simple Spring Boot example just to add a Client using a RESTful API. I have written this Controller: import org.spri

Get XSD from RESTful Web API

I have created simple RESTful Web API with automatic documentation from Swagger on Azure by using C# : namespace WebAPIDemo.Controllers { public class

How can I explore a dictionary into a dictionary when im consuming an API. Example with PokeAPI

I'm trying to see the value of a key in a nested dictionary consuming an api. The code below iterate each pokemon in a the list of all pokemons and print some o

Display GET Request data in HTML

This endpoint http://vk-data:8003/v1/entries/ returns this: [ { "id": "country", "url": "http://vk-data:8003/v1/entries/country", "n

Returning data from async call in Swift function

I have created a utility class in my Swift project that handles all the REST requests and responses. I have built a simple REST API so I can test my code. I hav

Q: Wordpress Meta Data Update with postman

How can i update my customers meta data with postman? When i am trying. I am getting this error. meta_data[0] is not of type object. I want to add like this Pan