f5-appsvcs-templates icon indicating copy to clipboard operation
f5-appsvcs-templates copied to clipboard

Documentation: Clarify difference of FAST API PUT and POST method

Open simonkowallik opened this issue 2 years ago • 3 comments
trafficstars

Is your feature request related to a problem? Please describe.

The difference between using PUT or POST to create applications is unclear.

Describe the solution you'd like

Please clarify when to use PUT and when to use POST in the documentation.

Describe alternatives you've considered

Additional context

Context: Improve Documentation

simonkowallik avatar Mar 23 '23 20:03 simonkowallik

Generally, use PUT when you want to UPDATE something and use POST when you want to CREATE something. Is there something specific that you are looking to see in the documentation?

shyawnkarim avatar Apr 10 '23 20:04 shyawnkarim

Besides the CRUD principles and their associated HTTP methods, is there any implementation difference, eg. performance gain, when initially using POST with FAST and then switching to PUT when making modifications at a later stage?

Based on the docs and my tests both methods are interchangeable. Hence a clarification in the documentation would be appreciated.

simonkowallik avatar Apr 12 '23 17:04 simonkowallik

Thanks for that added clarity, this documentation request is now being tracked internally with ID, EC-183.

shyawnkarim avatar Apr 14 '23 22:04 shyawnkarim