Tag: Rest
-
WordPress: Creating Gutenberg-Block Compatible Posts Using Rest API
This article shows how you can dynamically create new WordPress posts using REST API that is compatible with Gutenberg blocks. When done correctly, there is no need to manually convert the content from Classic Editor to Gutenberg Block Editor, or fix incorrectly converted blocks. This is a big time saver when you plan to create… Read More…
-
Rest Template: Could Not Extract Response – No Suitable HttpMessageConverter Found for Response Type [X] and Content Type [application/json;charset=UTF-8]
PROBLEM When invoking a web service using RestTemplate:- … the following exception occurs:- SOLUTION If the content type is JSON, add the following dependency:- Read More…
-
Java: Invoking Secured Web Service with JSESSIONID
PROBLEM I wrote a JSP custom tag that invokes a secured web service within the same application to perform some evaluation. This custom tag is only used in the secured views where the user has successfully authenticated against Spring Security, and they have access to these views. The secured web service is also guarded by… Read More…