I have to do this action for use payment service provider's form and add signature on server side. I can modify client and server.
Can I do this:
1) client request -(POST, body:{"a":"1"})-> my_server
2) my_server add new param "signature"
3) my_server response -(3xx, body:{"a": "1", "signature": 354}, Location: https://psp.com) -> client
4) client auto request on 3xx -(POST, body:{"a": "1", "signature": 354})-> https://psp.com
?
is it correct scheme? what 3xx is better for this action?