Update branch protection REST api issue for "Specify who can force push"
In GitHub REST API (using curl) I'd like to update the branch protection's "Specify who can force push" portion.Which JSON property in the PUT body below is for "Specify who can force push" from the...
View ArticleRust poem-openapi: endpoints in multiple files
I'm trying to build a REST API with multiple endpoints. Some of the endpoints can be related to each other more that others, and thus I would like to implement them in multiple files. I have kind of...
View ArticleHow to parse API JSON response that contains 1 list of multiple (2 in my...
'So I searched enough, there isn't any question like this im sure. And I'm wondering how can this be not a questions others have come across or am I soo noob?So the API response is as follow{"data":...
View Articlereasons for using rust api over django, node? [closed]
Has anyone made a large scale rust web api in production. If so why did you choose it over easier languages like python. Is there significant performance, lower response times, concurrency, etc from...
View ArticlePayPal REST API: Search by BUYER Transaction ID
I asked that already in PayPal community, but basically almost all questions there get no answers.How can I use the PayPal REST API to search by BUYER Transaction ID? The only way I know is via the...
View ArticleChange password on ESXi with REST API
I am trying to write a script in PHP that resets the root password on an ESXi ("myhost", moId="host-15458") registered to a VCSA version 8.0.2 ("myvCenter", API-Id=8.0.2.200). I have the old password...
View ArticleUsing Kafka consumer in rest api CRUD Repository
We have rest-api based java service (spring REST application in Tomcat server), which is basically handling the CRUD operation against the database. Now we have a requirement to consume some kafka...
View ArticleIllegal State Application Context Failure Threshold while running Spring Boot...
I am getting Illegal State Application Context Failure Threshold error while running my spring boot project tests. It seems like my code is able to fetch the context of the application and facing...
View ArticleGuidance for writing a wrapper for a REST API
I've written a few very casual wrappers around REST and less structured web interfaces, but all just for fun, with very little attention to error detection and handling, timeouts, etc.Can somebody...
View ArticleOffice 365 REST API - Creating a Contact gives me HTTPCode 400
I am using the Office 365 Rest API and I am having problems in creating a Contact:I am doing this:public async Task<bool> CreateContact(Contact contact) { var client = new HttpClient(); var...
View Article504 Gateway timeout Springboot
I am working in a Spring boot project and I have a request which is returning a Gateway Timeout 504.Can I increase this timeout? Is this a property that I can change in the standalone-full.xml?I am...
View ArticleHow to map this Json with rest template spring boot
I'm kind of new to REST API and I have to map an endpoint that returns me this JSON:{"request": {"Target": "Affiliate_Offer","Format": "json","Service": "HasOffers","Version": "2","api_key":...
View ArticleHow can I save an HttpResponseMessage as binary?
From a GET API I receive JSON content with HttpResponseMessage. I wish to save that attachment as binary in my SQLite database. How can I do this and open it for the user to...
View ArticleHow to return global object from a Rocket REST API? [duplicate]
I'm starting to learn Rust and the Rocket framework. How do I return my_universe that I created on the first line of main() when calling GET /universe/ports/21?fn main() { let my_universe =...
View ArticleHow to use httpBasic() in java spring security 3?
QuestionI am a new Java Spring Boot developer, and I am trying to create a REST API project. I want to log in with a username and password using Postman. However, I am encountering an error when I use...
View ArticleMeteor server api using iron router returns HTML not the response
I have a simple Meteor app just the basic meteor create test. I want to be able to route traffic to the "/" directory to a template.I want to be able to route data from a facebook web-hook to a simple...
View ArticleAny other Alternative API for listing Popular Movies [closed]
In my country India 🇮🇳 TMDB is not available but I want an alternative API for free that can fetch all the popular movies return them in JSON. Can you please suggest?I'm trying to find any alternative...
View ArticleError: connect ETIMEDOUT at TCPConnectWrap.afterConnect [as oncomplete]
I'm trying to call REST API asynchronously in a for loop using XMLHttpRequest module. I'm making 400 requests in 1 loop, with a wait time of 1 sec after every 100 requests. This works fine on...
View ArticleFLUTTER ANDROID ONLY: sent location data to REST API continuously even when...
I want to continuously send location data to REST API (PATCH METHODS) even when my app is minimized/closed. I put my function on InitState, but when I minimized the app.. the function is gone,How can I...
View ArticleHow to synchronize actions between two separate frontends using Laravel and...
I'm developing a system with two separate frontends using Next.js: one for clients and one for admins. Both frontends need to be synchronized such that when a client makes a booking, it should...
View Article