System.Text.Json.JsonException in System.Text.Json.dll Error deserializing...
I am working on an ASP.NET Core project to migrate data from multiple JSON files into an SQLite database. Below is the DataMigration class I wrote for this purpose:using System.Text.Json;namespace...
View ArticleHow to distinguish between null and not provided values for partial updates...
I'm trying to distinguish between null values and not provided values when partially updating an entity with PUT request method in Spring Rest Controller.Consider the following entity, as an...
View ArticleSoapUI/ReadyAPI - multi-part/form-data REST request. How to set content-type...
In a multi-part request, a non-file part can have one of many content-types (text/plain, application/json and application/xml probably being the most used). In SoapUI or ReadyAPI, I cannot figure out...
View ArticlePowershell Foreach loop to iterate through API output and display variable...
I am running some Azure DevOps API queries in Postman which successfully return the expected results, a snippet of which is shared below and represents only one of dozens of similar iterative output....
View ArticleASP.NET Core Web API : routing behaves differently over http and https
I have a controller with two simple methods:[HttpGet][Route("/camera/event")]public async Task<string> GetEvent()/....../[HttpPost][Route("/camera/event")]public async Task<string>...
View ArticleHow can I store proxy user password securely using proxy_override in Oracle...
I call an external HTTP API endpoint from the inside our comapny's network. I use Oracle's function:apex_web_service.make_rest_request (p_url => l_url ,p_http_method => 'POST' ,p_body =>...
View ArticleSpring Boot request body validation
I am working on Spring REST API and have following controller:@RestController@RequestMapping( value = "/api/Test", produces = "application/json")public class MyController { @RequestMapping(method =...
View ArticleDjango REST Framework: adding additional field to ModelSerializer
I want to serialize a model, but want to include an additional field that requires doing some database lookups on the model instance to be serialized:class FooSerializer(serializers.ModelSerializer):...
View ArticleURL matrix parameters vs. query parameters
I'm wondering whether to use matrix or query parameters in my URLs. I found an older discussion to that topic not satisfying.ExamplesURL with query params:...
View ArticleIs there a way to do file analysis prior to uploading large files to Google...
We have a python fastapi RESTAPI backing a frontend and want to allow users to upload files to our gcp instance (esp via a frontend drag and drop but also via an API call). I want to use the GCP URL...
View ArticleHTTP Status 405 - Method Not Allowed Error for Rest API
Am asking this question after doing some research. I did followed the solutions given for this kind of error but did not work for me. Any suggestions as where am going wrong in the below code.I am...
View ArticleHow to Retrieve Data Stream Status via API in Salesforce Data Cloud?
I am working with Salesforce Data Cloud and need to retrieve the status of Data Streams using an API. Does anyone know if there is an available approach or API endpoint to achieve this?Any guidance or...
View Articlesoti mobicontrol authenticate the requests to get managed devices
I have administrative credentials for SOTI MobiControl, along with API client details (client ID and client secret) and the base URI. How can I retrieve the list of managed devices from the MobiControl...
View ArticleREST API How to generate a 500 Error status when using a Postman Request
I need to test the 500 'internal server error' but Need to test this new API with calls from postman. Does anyone know how to make a call that will trigger it? I'm not talking about setting up a mock...
View ArticleExceptionHandler is registered but never entered on occuring Exception
I have a net8 Microservice written in c#.I want to use the IExceptionHandler Middleware but the Handler ist never called and the exception is returned to the Endpoint-Call.The Handler:public class...
View ArticleError 415 when trying to merge PDFs by stirlingpdf.io with python
I am trying to merge two PDF files through the API of StirlingPDF with Python.Unfortunately, I always get an Error 415 back from the request (see below).filepaths =...
View ArticleGET request works in browser but not in POSTMAN or SOAPUI
I have the following endpoint:http://millennium.iwise.com.br:6017/api/millenium_eco/Tabelas_preco.listaIf I try to open via browser, it asks me credentials and then works fine - as seen on image...
View ArticleInvoke a REST service from PL/SQL
I am trying to make a HTTP Request from PL/Sql. I need to use access token for authentication rather than username and password. Please suggest the standard API or code to use to pass the access...
View ArticleHow to access ACF field in a custom Wordpress Rest API endpoint?
I have a Advanced Custom Fields FAQ repeater field that I'm trying to add FAQ's to my custom search results, and am unable to get the field through the Rest API.I'm registering the endpoint like...
View ArticleHow to expose a slider from the Smart Slider 3 plugin via WordPress REST API?...
I am trying to expose a slider from the Smart Slider 3 plugin as a REST API endpoint in WordPress. My goal is to retrieve the HTML generated by the slider (using the shortcode [smartslider3 slider=ID])...
View Article