Commit 0f82c876 authored by Mahesh Maney R's avatar Mahesh Maney R
Browse files

changing the header for request <ManeyMR>.

Showing with 2 additions and 1 deletion
+2 -1
......@@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.JsonNode;
import com.tarento.upsmf.userManagement.handler.UserHandler;
import com.tarento.upsmf.userManagement.services.PaymentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
......@@ -66,7 +67,7 @@ public class UserController {
return userHandler.login(body);
}
@PostMapping(value = "/payment")
@PostMapping(value = "/payment", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
public ResponseEntity<String> paymentRedirect(@RequestBody Map<String, String> requestData) throws URISyntaxException, IOException {
return userHandler.paymentRedirect(requestData);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment