Query a specific model deployment in an endpoint inside Azure Machine Learning
I'm working in Python. I already successfully deployed two model deployments in an Azure Machine Learning real-time endpoint, with a 50-50 traffic split.Using the Python SDK, I know that to call a...
View ArticleSpring TestRestTemplate and self-signed certificate
In Spring Boot tests I want to use self-signed certificate for https endpoints and access them by TestRestTemplate. However my TestRestTemplate is...
View ArticleHow to Parse JSON Request Body with an Array to Create a Relationship Between...
I'm using Go (Golang)/Chi to create a REST API.This is the structure of the JSON payload from the request body:{"name": "John Smith","bornDate": "2020-10-05","books": [ {"title": "Book 1...
View Articleprice of hotel per day or per night in TripAdviser api [closed]
I want to get the price of hotel in the Tripadviser.com I have hotel id and and other things but its not giving hotel prices so anyone help how can I get thisI simply tried by using this...
View ArticleApache PHP RestAPI to upload/download [closed]
I know this is probably a duplicate post, but I have a Windows machine with Apache/PHP/MySQL services.I have to build/develop a rest API function that allows the upload/download of files from the...
View ArticleWhat is a payload convention for POST requests?
What is convention for building payload data for POST endpoint ?Let's say we have POST endpoint that has required and optional fields. In this case should I set null for that optional fields if I don't...
View ArticleAccessing Tableau view via a Google apps script
I am trying to connect to Tableau from a Google Apps Script so that I can get the view data and populate a Google Sheet. Not finding any good examples online however.I am using this code to connect via...
View ArticleHow to use PowerShell invoke-webrequest with Windows Authentication and...
The following PowerShell invoke-webrequest works for me when the Windows Service I'm running it from has permission to call the webservice. However, this isn't always the case.I need to the ability to...
View Articleaxios how to send windows authentication headers to API
I have an API deployed to the server. Authentication is set to "Windows Authentication" but when I send a request using axios it returns 401 - Unauthorized: Access is denied due to invalid...
View ArticleFetching data from Jikan API. Is there a DUBBED broadcast day data option to...
I'll try to be as concise as possible. I'm building out an Anime watchlist & weekly scheduling webpage/app using React and fetching the Anime data using Jikan API.I have my weekly...
View ArticleIs it possible to allow URL parameters to be passed in like switches?
I'm wondering if it's possible to implement a REST API endpoint in ASP.NET where a URL parameter can be passed in like a switch (as opposed to having to pass in a boolean parameter that has to be...
View ArticleWhat are REST API error handling best practices? [closed]
I'm looking for guidance on good practices when it comes to return errors from a REST API. I'm working on a new API so I can take it any direction right now. My content type is XML at the moment, but I...
View ArticleSpring REST - At least one RequestParameter mandatory
I have a method with below RequestMappings:@RequestParam(value = "someValue1", required = false) final String someValue1@RequestParam(value = "someValue2", required = false) final String someValue2Both...
View ArticleAuthenticated/Authorized CRUDs
I'm learning to code with Delphi 12 and I'm trying to create a simple app for an agenda.I have a mySQL database set up with 2 tables:usersidusernamepasswordappointmentsiduser_id (FK)CompanyDateTimeI...
View Article413 Request Entity Too Large only via phantom js
Sending a POST request with large data set in node js/phantom js results in 413 error. However, using fiddler, if I proxy out the request, it returns data fine when sent in Fiddler or browser.I have...
View ArticleConfluent Kafka Rest returning 40403
I have deployed the Confluent Kafka Rest Proxy 3.3.x on my linux box and it seems to be connecting fine with the Kafka broker and zookeeper as i don't see any errors in the logs and the jetty server...
View ArticleHow to confirm the swagger version being used in my API?
I have integrated my REST API (developed on Jersey) with swagger 2.0But when I see the Json listing, it shows me the following entries :"apiVersion": "1.0.0","swaggerVersion": "1.2",The swaggerVerison...
View ArticleWhy hibernate is calling update for parent entity or for child entity itself...
Inventory.java:@Entity@Table(name = "inventory")public class Inventory { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "inventory_id") private int inverntoryId; @Column(name =...
View ArticleHow to create order in ebay sandbox environment
I don't know how to create order in ebay sandbox environment i have to call get Orders api and i am able to successfully call the api but in response I m getting order list empty. Its mean i donve...
View Articlejava.io.IOException: unexpected end of stream on Connection in android
I have web service URL, it working fine. It gives the JSON data. When I am using HttpURLConnection and InputStream, I am getting this error: java.io.IOException: unexpected end of stream...
View Article