basic REST service for my xpage application
I want to set up some basic REST services for my XPage application. So I added the xe:restService control on an xpage and choose the xe:customRestService where I refer to a Java...
View ArticleSecrets and Certificate Expiry with Graph Powershell
So, hope someone can help me across the finish line with this. I've cobbled together a bit of code, basically something I got from a much smarter forum user for a similar purpose.I'm trying to take all...
View ArticleProcessing payments in XML files format using Windows Service or HTTP API?...
I am a junior developer and as instructed by my superior, was tasked to build a system that does processing of payments that are being received as XML files (that are digitally signed with token) in a...
View ArticleCan only print object's memory address
I'm using the Yelp API and pulling down a YLPBusiness. When I attempt to print() or dump() the YLPBusiness, I only receive the memory address in the console log.If I print(YLPBusiness.name) however, I...
View ArticleExclude user's password from query with Prisma 2
Recently I started working on a new project to learn some new technologies (Prisma 2, REST api with Express, etc.). Tho, I faced a problem.My app has a user authentication system and the user model has...
View ArticleZenodo access ["metadata"]["description"]
this piece of code returns records from zenodo with no problemimport requestsimport jsonrecords_api_url = 'https://zenodo.org/api/records'search_query = 'grants.acronym:DIGITAF AND...
View ArticleHow to get the list of commits between two commits using Azdo rest API
I tried using commits rest apibut it's listing the entire commit instead of the expected ones.Used API like this:...
View ArticlePaginating data after processing of almost all data
Context:I have a MongoDB collection that contains data on service providers. I need to filter this data to generate a list of service providers based on specific criteria. The final price for a service...
View ArticleWP REST API and "Only authenticated users can access the REST API"
I have a WordPress: https://example.comI need to use WP REST API.In .htaccess:# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond...
View ArticleBypass/Workaround for UrlFetchApp Request failed returned code 403
I have this Google Script function that uses the following JSON REST API:function TESOURODIRETO() { let srcURL =...
View ArticlePython equivalent of HttpClient PostAsync for sending an array of parameters...
I have been unable to find how to pass/post parameters for an enterprise API.This is the example from documenation in C#:string json = string.Empty;using ( HttpClient client = new HttpClient() ){...
View ArticleAsync inside thread, bad idea?
Is async inside a dedicated thread a bad idea?I've got a C# web app (REST) using System.Net.Http.HttpClient that streams video to a GUI via a multipart/x-mixed-replace REST endpoint, while...
View Articlegetting issue in receiving the List in Spring Boot Apache Camel REST API
github link: https://github.com/shahulsley/came-rest-dslI have written REST API in Spring Boot using Apache Camel REST DSL. All endpoints work fine except createBatch,1. getById2. getAllDocs3. delete4....
View ArticleAssign time record to project in Everhour
In Everhour, I need to assign a time record to an existing Project.With the Everhour API (https://everhour.docs.apiary.io/) I am able to retrieve:-information about the time record, as time record id...
View ArticleProper REST formatted URL with date ranges
I have a REST URL to get all users formatted like this:http://example.com/usersTo get an individual user by id:http://example.com/users/12345To get all user's bids:http://example.com/users/12345/bidsTo...
View ArticleI want to create a class that lets me make an API call with only 2 parameters...
(The code is in JS)My function for making an API call right now is:function makeRequest(section, command, requestParams, method) {}I also have enums such as:enum USER_SECTION { SECTION = 'users',...
View ArticleHow do you compute a CurseForge API fingerprint for a WoW Retail Addon?
There is no documentation on this.I got as far as to understand that Murmur2 is used for hashing stuff (that is not mentioned anywhere either..)But I don't exactly know how to hash the addon.Do I need...
View ArticleNo connection could be made because the target machine actively refused it...
I'm using the WCF4.0 template -REST. I'm trying to make a method that uploads a file using a stream.The problem always occur atStream serverStream = request.GetRequestStream();Class for...
View ArticleSoap Request show different behavior on two different servers? Did not fetch...
I am working on a project in which i have to fetch data using netoscan api.I am facing a problem while i run my code on server which is supporting php 7.2 , It did not work for that server and gives...
View ArticleUnsupported Media Type error when uploading image with MultipartFile in...
I'm getting a 415 Unsupported Media Type error when trying to upload an image and json data in my Spring Boot application (I'am testing using Postman).This is my Controller:...
View Article