Skip to content
Advertisement

Tag: rest

JSONPatch escape slash ‘/’ from JSONPatch+JSON

I’ve below JSON and I wanted to update few fields from it using postman PATCH API call with below JSONPatch payload API is working fine But, I want to implement same using Java .. I tried It evaluates to : This doc mentioned that http://jsonpatch.com/#json-pointer we MUST use escape the characters with ~0 and ~1 but no luck yet, I

How to ignore a field from DB [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I have a list of persons in DB everyone having a CV field which is a MultiPart File in Spring. I’m trying to get all

Merge map properties to Java POJO

I’d like to implement UPDATE (method PUT) operation for REST api. From front-end application my controller method expects map of values, for example: I’d like to use map as the request body and not POJO because with help opf map I can declare 3 states for each property: property is absent in the map – property is not change, do

400 Bad Request when using Spring Boot

I am sending a Http POST request to my RESTful API build with Spring Boot and get the “400 Bad Request” response. My POST request is made with Postman, send to with the body I want to pass the filename variable to my Java Method. My RESTful api is build in Java with Spring Boot I tried with and with

Advertisement