Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RestHalf spec for single param #97

Closed
trydofor opened this issue Jun 6, 2023 · 0 comments
Closed

RestHalf spec for single param #97

trydofor opened this issue Jun 6, 2023 · 0 comments
Labels
better :gem: something is better

Comments

@trydofor
Copy link
Owner

trydofor commented Jun 6, 2023

POST with single parameter is recommended to post data directly, eg. common types in server,

  • Boolean:boolean - true
  • BigDecimal/Long/Integer:number/string - 123 / "123"
  • String:string - "string"
  • LocalDateTime:string - "2021-06-06 06:06:06"
  • LogLevel.TRACE:string - "TRACE"

eg. common types in client,

  • JSON.stringify("string") - "string"
  • JSON.stringify(123) - 123
  • JSON.stringify(true) - true
  • JSON.stringify({str:"string",dec:123,bol:true}) - {"str":"string","dec":123,"bol":true}

alibaba/fastjson2#1537

@trydofor trydofor added the better :gem: something is better label Jun 6, 2023
@trydofor trydofor changed the title resthalf spec for one param RestHalf spec for single param Jun 7, 2023
trydofor added a commit that referenced this issue Jun 18, 2023
trydofor added a commit that referenced this issue Aug 24, 2023
trydofor added a commit that referenced this issue Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
better :gem: something is better
Projects
Archived in project
Development

No branches or pull requests

1 participant