dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[QUESTION] POST request format

Open yh2388 opened this issue 7 years ago • 6 comments

Why use 'application/x-www-form-urlencoded' instead of 'application/json'?

yh2388 avatar Dec 02 '19 05:12 yh2388

image Here is axios form parameter passing method, you want to change to other parameter passing methods, you can refer to this address: http://www.fly63.com/article/detial/1068

break60 avatar Dec 12 '19 11:12 break60

image Here is axios form parameter passing method, you want to change to other parameter passing methods, you can refer to this address: http://www.fly63.com/article/detial/1068

It seems that after this modification, The backend also needs to be modified, which will affect the subsequent upgrade and have a large workload, Do you have any solutions?

yh2388 avatar Dec 13 '19 02:12 yh2388

image We need to change to 'payload' method integration with another system, but backend has different processing methods

yh2388 avatar Dec 13 '19 02:12 yh2388

Do you need to change all post requests to json?

break60 avatar Dec 30 '19 09:12 break60

Do you need to change all post requests to json?

yes, we need compatible with other api that use application/json method.

yh2388 avatar Jan 02 '20 05:01 yh2388

Close the question since no updates for long time

chengshiwen avatar Apr 10 '21 12:04 chengshiwen