Problem with firebase REST API in esp-idf. Cannot Patch and Get in firestore
I'm encountering an issue with retrieving and updating documents in Firestore via REST API using ESP-IDF. While the HTTP requests function correctly in Postman, I'm unable to replicate the same...
View ArticleSerialize a map of key-value pairs as JSON attributes with values in response...
In the response from a REST API call I got a JSON payload.Source JSONIt contains a parameters map containing key-value pairs like this:{"account": {"sample_id": 1424876658095,"parameters": [ {"name":...
View ArticleJersey - Modify Jackson output by request-parameter in resource method
I'm currently using Jersey & Jackson for creating a REST service.Right now when a resource method produces application/json and returns a POJO, it properly serializes the object into JSON and...
View ArticleAzure Notification Hubs Rest Interface $filter Parameter on Registrations...
I've been trying to define a $filter for notification hubs to limit the results returned by the API based on a pair of tags.Given a pair of tags, e.g. _employee_id_32 and _site_id_66, does anyone know...
View ArticleHow to modify/complete url on execute in useAxios from vueuse? Or: How to...
I'm building a Vue application which makes requests to an REST-API.I want to use "useAxios" from vueuse to make theese requests like below:const {data: todosList, isLoading, error, execute} =...
View ArticleUsing Spring REST template, either creating too many connections or slow
I have a RESTful service that works very fast. I am testing it on localhost. The client is using Spring REST template. I started by using a naive approach:RestTemplate restTemplate = new...
View ArticleHow to get lastSignInDateTime from Azure AD through Postman
I need to fetch lastSignInDateTime from Azure AD through Postman.May I know how I can the fetch the details of the usersI tried with below URL but it's not working for...
View ArticleHow to send Json String using REST to java webservice in Parameter in android?
Fiends, i sending JSON String with three parameters to java web service method. but on java side method cant print in console. Please guide me what i have to change from below code?String json = "";...
View ArticleHow to upload file using Payload CMS REST API
I am working with playload cms & trying to create a doc in collection with a file, following this payload documentation article https://payloadcms.com/docs/upload/overview#uploading-filesCollection...
View ArticleChange the attendee checked_in value via the Eventbrite Web API
I'm trying to use Python to change the 'checked_in' status of attendees of an Eventbrite event. Reading the status is quite easy but it's not clear in the reference docs which endpoint needs to be...
View ArticleWebServices Calculator Example using Java
I have created an sample application of calculator for sum of two numbers using webservices in Java by using Jersey service.My code is : Calculator.javapackage p1;import javax.jws.WebService;import...
View Articlespring boot 2.7.1 send request by restTemplate take a lot of time
I have a system consisting of several rest api projects.Each rest api project is responsible for a specific topic in the project.To my surprise, I discovered that accessing via rest api takes an...
View ArticleAPI is not working Android Kotlin retrofit API for Mobile recharge
There is a API which running in post request. this code is not working:PHP API query:query('select mt.translationID,mt.mobile,mt.amount, mt.operatorCodeTimestamp as rechargedate, mt.status from...
View ArticleHow to customize the "413 Payload Too Large" response in Quarkus with...
How to customize the "413 Payload Too Large" response in Quarkus with multipart/form-data requests?I'm working with a Java 21 Quarkus (3.18.1) API that uses the...
View ArticleCoinbase Advance Trading API returns "Error: account not available" when...
For the past while I have been trying to get this crypto trading bot to work. The problem is that while I can get/list accounts when I place an order I get a 400 error.The code:def place_order(symbol,...
View Articleorg.springframework.web.client.ResourceAccessException: I/O error on GET...
PKIX path building failed:sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;I am working on a REST call from my windows development...
View ArticleAssign permissions to a user who isn't a member of a site via the REST API
I have a SharePoint library named "LIB_1" within the site "SITE_NAME".I want to grant permissions to the user "user@domain.com" for "LIB_1", but the user is not currently a member of "SITE_NAME".I...
View ArticleIs a Web API application built on RESTful principles using server session to...
It's confusing to me to interpret the term "stateless" in REST API. For example, when reading this article it has the following text:The last principle I want to address is stateless communication....
View ArticleHow to change Status code in spring boot error response?
I am making a simple rest service that makes some http calls and aggregates data using RestTemplate.Sometimes i get NotFound error and sometimes BadRequest errors.I want to respond with the same status...
View ArticleWhy is my Facebook Graph API call to /me/accounts returning an empty pages...
Question:I’m building a Node.js application that registers users through Facebook. In my registration flow, I need to fetch the list of Facebook pages the user manages. I’m using the following code...
View Article