Microsoft Graph API with springboot to read outlook mails
Developers, I need a solution to read outlook mail with springboot by client_secret. I tried with multiple process but no luck. When I debug I've access token but refresh token, id token size were 0....
View ArticleSpring security for REST and Angular 2.0
Working on a Login application. Separated the front end with Angular2 and accessing backend using REST implemented with Spring. Initially implemented Login app with spring security but no angular 2...
View ArticleRestEase - how to implement the deserialization of an Array of Results
I am a novice C# coder trying to use RestEase to call a RestAPI that returns an array e.g.[{"name":"value"}, {"name2":"value2"}] rather than a single {"name":"value"} response as per the Quick Start...
View ArticleHow are we passing context while creating endpoint in go-kit
func MakeGetEndpoint(srv Service) endpoint.Endpoint { return func(ctx context.Context, request interface{}) (interface{}, error) { _ = request.(getRequest) // we really just need the request, we don't...
View ArticleModify a parameter of a running (or finished) build in TeamCity via REST API
I am trying to modify a parameter (e.g. configuration parameter) of a running (or finished) build named 'lock' and want to insert the value: "true".My initial thought was to send a rest api call with a...
View ArticleUnable to use a custom ValueResolver
I'm developing a Symfony 7 REST API. I'm following the official docs to implement a custom argument resolver to handle mapping of the request payload format that my endpoints are receiving to DTOs...
View ArticleHow to delete azure VM and its associated resources like (ip, nsg, nic, disk)...
I have to delete Azure VM and associated resources using REST API calls.I have sequential calls to delete Azure VM -> VM-Disk -> VM-Ip -> VM-NSG -> VM-VnetBut after deleting VM, api call...
View Articlefile_get_contents(): SSL operation failed with code 1, Failed to enable crypto
I’ve been trying to access this particular REST service from a PHP page I’ve created on our server. I narrowed the problem down to these two lines. So my PHP page looks like this:<?php$response =...
View ArticleUsing a Trino client with external authentication rather than BasicAuth
I am using Trino to communicate with OpenSky, which is a flight record (ADSB) historical database. I am a contributor to the OpenSky network and have approved credentials.The OpenSky Quick Guide shows...
View ArticleHow can I get userId after call create user api in keycloak?
I implemented keycloak in my node.js project and call following API for add user in keycloak:{{keycloak_url}}/admin/realms/{{realm}}/usersThis API works and I can add user in keycloak but I need userId...
View ArticleIn Next.js I'm getting a 404 error when I try to send a get request to a...
I'm using thunder client and although the dynamic route is working fine, when I send a get request to the successor route it throws a 404 not found error, I know this means that the request can't reach...
View ArticlePOST to Restful API
I am creating A Restful API (Using Visual Basic/C#).I have a Class/Model with a single field:public class ResultsiMeter{ [JsonProperty("id")] [JsonPropertyName("id")] public int id { get; set; }}My...
View ArticlePostrequest from Thunderclient with application/x-www-form-urlencoded header
I am currently switching from Postman to Thunder Client in VS Code. Most request which I called from Postman worked without a problem in the Thunder Client. But currently I am stuck at a specific...
View Article.Net web application with different api clients
I have a Blazor project and I need to consume several REST APIs. All of those APIs require different configuration. For example: For one of those APIs I have to bypass certificate by using...
View ArticleUpdating BigCommerce Pricing in Bulk with API
I am trying to figure out the best way to update our prices via the APINormal SKUs are fine, but the price of items with options seems a little less straightforward. Using the GET v2/products?sku=XXXX...
View ArticleSet POJO field value based on the value of another field in Spring Boot
I have a simple POJO classclass POJO{private boolean isEnabled,private String field}I have a controller that accepts RequestBody of type POJO, as part of a change I want to include a validation such...
View ArticleStrapi API Rest V 3.6.8 how to search posts by title?
I have installed version 3.6.8 of StrapiIn the docs for v3.xhttps://strapi.gitee.io/documentation/v3.x/content-api/parameters.html#filterFilters are used as a suffix of a field name:No suffix or eq:...
View ArticleNext js Api sometimes returns 404 sometimes works fine
I am using Next.js 14 and in a component of my project I need to make an api call, which works fine in the beginning but after some consecutive calls, it returns 404.The api route is as follow:import {...
View ArticlePUT Request throws 415 Unsupported Media Type: [no body]
I do not have a lot of experience in this area so please forgive me.I have a simple PUT request which takes in a request body with an Integer id and a List of ids (passed from the frontend as an...
View ArticleHow to get all products from woo-commerce?
I have setup Woo-Commerce which have more than 1000 products. Using Woocommerce rest api php library I am trying to get all products.But it gives me 10 products. If I use filter[limit] it gives me...
View Article