Quantcast
Browsing all 3630 articles
Browse latest View live

How-to perform a simple AWS/EC2 rest API call with Curl

Has anyone used cUrl to manage the AWS (EC2) rest API? Here I picked the simplest possible call, listing running instances. Am I missing something or am I clearly showing ignorance of proper cUrl...

View Article


How to use Spring OAuth2 JWT Token?

We want use the Spring OAuth2 JWT Token support. Our architecture is as follows: Spring just provides a REST-interface and the frontend is built with AngularJS which queries the Spring-REST-Interface....

View Article


Getting null response for post, get requests in spring boot

I am new to Spring boot. So I am facing a problem when I am sending get, post requests using Postman. I am getting null response even though everything seems to be the all right.My controller file is...

View Article

Sending StreamContent and StringContent to API

Currently trying to send 2 images and a string to an API.ApiCall:var data = new{ mode = info};pathData = JsonConvert.SerializeObject(data.ToString());var content = new MultipartFormDataContent{ { new...

View Article

Unable to make field private final [closed]

when try to hit REST API in swagger getting this below error,Would somebody help on this.InInterceptor.java:215)\r\n\tat...

View Article


How to fix 500 internal error in spring boot

I'm Really getting trouble solving 500 internal error in restapi.When I make GET and POST request working fine but when I make PUT,DELETE and findById GET request not working. if I try to make a...

View Article

Spring Boot (3.5.0) - Rest Controller - 400 with HTML response body

I am encountering a problem that spring boot restful service returns 400(badRequest) with html response body when the request uri path variable is blank for example:URI path: ../v1/users/{id}/job where...

View Article

How do I handle file upload via PUT request in Django?

I'm implementing a REST-style interface and would like to be able to create (via upload) files via a HTTP PUT request. I would like to create either a TemporaryUploadedFile or a InMemoryUploadedFile...

View Article


Power BI Metadata using Azure Data Factory (ADF)

I am trying to download metadata from Power BI and then store it in Snowflake.However, I'm having troubles with accessing API with my app.What I have done so far:Registered an app (permissions:...

View Article


Updating database records in DDD is susceptible to lost update problem

I'm learning DDD for the first time, and all over the internet I see a very clean pattern for updating values in the database. It looks something like souse a repository to fetch an entity object, load...

View Article

ParallelStream different results invoking API Rest

I have to send 100K request to an API, but in sequential order it takes so long.So, I'm using ParallelStream. However, a small group of responses is different compared to sequential ones.I have to read...

View Article

Getting 400 http bad request error while accessing WCF rest service using GET

the Exact error is System.Net.WebException: The Remote server returned an Error: (400) Bad Request. at system.Net.HttpWebRequest.GetResponse()i have a WCF rest service hosted in IIS..I have created a...

View Article

Developing a Spring REST service with OData interface

I'm developing a RESTful service using the spring framework. This service has a few different controllers. Some of the controllers allow the user to query data from a datastore. On investigating, it...

View Article


Image may be NSFW.
Clik here to view.

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 Article

Image may be NSFW.
Clik here to view.

Connect to bitunix rest API using PHP laravel

I'm trying to connect to the Bitunix API and change the margin mode using PHP. I followed the documentation provided on their web site but keep encountering a signature error message.I've attempted...

View Article


Basic Authentication for JIRA-Python no longer works for REST API calls. What...

In Python, I used to be able to authenticate with JIRA over REST using a simple bit of code:from jira import JIRAmy_JIRA_username = 'my_name'my_JIRA_pass = 'my_password'server = {'server':...

View Article

How to get URL data in TypeScript REST API call? [duplicate]

I am looking to get the URL variable data to my backend TypeScript REST API Call:Here is the hyperlink: http://localhost:3000/login?uid=aniket&pass=a123

View Article


Image may be NSFW.
Clik here to view.

Add tracking info into WooCommerce order via Rest API

I'm trying to update a WooCommerce order using Update an Order in the Woo API (API Doc)I want to add the following information into an order:tracking providertracking numbertracking URLI can add/update...

View Article

How do REST URIs operate internally?

I'm trying to create a REST API to interact with a MySQL database. I want to use this API to access the database from an Android or iOS device without (obviously) exposing the database directly through...

View Article

Does REST API for mobile apps hosted on https protocol web app will be slow?...

I am looking for a generic answer. Lets say I have built mobile app running on Android and iOS platform and REST API's for these apps lie under https based web application.Will it cause any speed or...

View Article
Browsing all 3630 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>